<commit_before>{{ asset_add("scripts.js", "anomaly.field_type.datetime::js/flatpickr.min.js") }}
{{ asset_add("styles.css", "anomaly.field_type.datetime::scss/flatpicker.scss") }}
{{ asset_add("styles.css", "anomaly.field_type.datetime::scss/light.scss") }}
{{ asset_add("scripts.js", "anomaly.field_type.datetime::js/picker.js") }}

{% for locale in config('streams::locales.enabled') %}
    {{ asset_add("scripts.js", "anomaly.field_type.datetime::js/l10n/" ~ locale ~ ".js", ["ignore"]) }}
{% endfor %}

{{ asset_add("scripts.js", "anomaly.field_type.datetime::js/l10n/" ~ config('app.locale') ~ ".js", ["ignore"]) }}

<div class="input-group">

    <input
            type="text"
            class="form-control"
            name="{{ field_type.input_name }}"
            data-locale="{{ field_type.locale }}"
            data-step="{{ field_type.config.step }}"
            data-input-mode="{{ field_type.config.mode }}"
            value="{{ field_type.format(field_type.datetime_format) }}"
            placeholder="{{ 'now'|date(field_type.datetime_format) }}"
            data-datetime-format="{{ field_type.plugin_format }}"
            {{ html_attributes(field_type.attributes) }}
            {{ field_type.required ? 'required' }}
            {{ field_type.disabled ? 'disabled' }}
            {{ field_type.readonly ? 'readonly' }}>
<commit_msg>Or app.locale if not translatable<commit_after>{{ asset_add("scripts.js", "anomaly.field_type.datetime::js/flatpickr.min.js") }}
{{ asset_add("styles.css", "anomaly.field_type.datetime::scss/flatpicker.scss") }}
{{ asset_add("styles.css", "anomaly.field_type.datetime::scss/light.scss") }}
{{ asset_add("scripts.js", "anomaly.field_type.datetime::js/picker.js") }}

{% for locale in config('streams::locales.enabled') %}
    {{ asset_add("scripts.js", "anomaly.field_type.datetime::js/l10n/" ~ locale ~ ".js", ["ignore"]) }}
{% endfor %}

{{ asset_add("scripts.js", "anomaly.field_type.datetime::js/l10n/" ~ config('app.locale') ~ ".js", ["ignore"]) }}

<div class="input-group">

    <input
            type="text"
            class="form-control"
            name="{{ field_type.input_name }}"
            data-step="{{ field_type.config.step }}"
            data-input-mode="{{ field_type.config.mode }}"
            data-locale="{{ field_type.locale ?: config('app.locale') }}"
            value="{{ field_type.format(field_type.datetime_format) }}"
            placeholder="{{ 'now'|date(field_type.datetime_format) }}"
            data-datetime-format="{{ field_type.plugin_format }}"
            {{ html_attributes(field_type.attributes) }}
            {{ field_type.required ? 'required' }}
            {{ field_type.disabled ? 'disabled' }}
            {{ field_type.readonly ? 'readonly' }}>

{'fraction_non_alphanumeric': 0.19855072463768117, 'fraction_numerical': 0.002898550724637681, 'mean_word_length': 3.3617693522906795, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3683357', 'n_tokens_mistral': 892, 'n_tokens_neox': 859, 'n_words': 105}