Fix date-format in edit-view of a record
If you configure the date-format for the BE to show as "d.m.y" it shows correct in the list-view. But edit-view for a record still has the "d-m-y"-format.
#8 Updated by Jo Hasenau almost 4 years ago
- Status changed from Accepted to Needs Feedback
After taking a look at how the parameters are set and used in several core methods, I think the actual problem IS exactly that global system wide setting of a date format.
IMHO it does not make sense to use that global format for the rendering of date, time and datetime information, when the backend on the other hand offers different locales for the backend users.
As a German user I would expect dd.mm.yy, while the English user might need dd-mm-yy and the US user would like to see mm/dd/yy.
So the whole concept should be changed to use the default formats of the chosen locale for the backend users, which then could use the global parameter as a fallback.
Maybe even that fallback would not be necessary, since the default would be English anyway.
So we should deprecate that parameter and fix the datetime handling system wide based on backend user locales.