- Switch Chinese time format to 24-hours - fixes #5496 - Use always 4 chars for year - Use one `HH` instead of `H`, so we don't have to convert during runtime - Update all locales - Allow seeing time and date format in help UI - Fix RTL in UI - Show stats about found formats in Locales command
35 lines
1.0 KiB
Twig
35 lines
1.0 KiB
Twig
{% extends 'datatable.html.twig' %}
|
|
{% import "macros/widgets.html.twig" as widgets %}
|
|
|
|
{% block datatable_column_attr %}
|
|
{%- if entry.rtl %} dir="rtl"{% endif -%}
|
|
{% endblock %}
|
|
|
|
{% block datatable_column_value %}
|
|
{% if column == 'name' %}
|
|
{{ entry.name }}
|
|
{% elseif column == 'description' %}
|
|
{{ entry.description }}
|
|
{% elseif column == 'language' %}
|
|
{{ entry.language }}
|
|
{% elseif column == 'date' %}
|
|
{{ entry.date }}
|
|
{% elseif column == 'time' %}
|
|
{{ entry.time }}
|
|
{% elseif column == 'duration' %}
|
|
{{ entry.duration }}
|
|
{% elseif column == 'decimal' %}
|
|
{{ entry.decimal }}
|
|
{% elseif column == 'money' %}
|
|
{{ entry.money }}
|
|
{% elseif column == 'time_format' %}
|
|
{{ entry.time_format }}
|
|
{% elseif column == 'date_format' %}
|
|
{{ entry.date_format }}
|
|
{% elseif column == 'hour_24' %}
|
|
{{ widgets.label_boolean(entry.hour_24) }}
|
|
{% elseif column == 'rtl' %}
|
|
{{ widgets.label_boolean(entry.rtl) }}
|
|
{% endif %}
|
|
{% endblock %}
|