Skip to content

Commit

Permalink
EZP-29279: Fix value displayed by the Date Field Type being affected …
Browse files Browse the repository at this point in the history
…by server time zone (#2422)
  • Loading branch information
jacek-foremski authored and andrerom committed Mar 11, 2019
1 parent c44cb90 commit 1bcdbc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
{% block ezdate_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% set field_value = field.value.date|localizeddate( 'short', 'none', parameters.locale ) %}
{% set field_value = field.value.date|localizeddate( 'short', 'none', parameters.locale, false ) %}
{{ block( 'simple_block_field' ) }}
{% endif %}
{% endspaceless %}
Expand Down

0 comments on commit 1bcdbc1

Please sign in to comment.