Inconsistent behavior of "date" filter with locales #4099
Replies: 3 comments 1 reply
-
@fabpot since you moved this to a discussion, can you please explain if this is an expected behaviour and the logic behind the choice between french and English formatting here? The other language implementations need to honour this behaviour. |
Beta Was this translation helpful? Give feedback.
-
I don't really understand this switch to a discussion either. Even if nothing can be done about it because of whatever function is used under the hood, it's still a very disturbing behavior. I think this requires at least an action to explain it in the documentation. |
Beta Was this translation helpful? Give feedback.
-
Are you sure that
This is what is stated in the documentation of the format() method which is used by the |
Beta Was this translation helpful? Give feedback.
-
The
| date
filter localizes some inputs, but not others.Here is an example :
This outputs :
Environment :
Is this an expected behavior ? And if it is, on what kind of inputs can I trust the filter to localize ?
Beta Was this translation helpful? Give feedback.
All reactions