Is there a date format option? There is a date.handler but what I ask for is something to switch from Y/m/d to like Y-m-d, H:i.
If there is no option I think it could be a nice addition. When making plugin that use a date/time it can be different in different countries. Another reason is that we may perfer another format. A global option would mean that all plugins could pick it up and display it as the user wants. The alternative is for every plugin to roll out their own option for it.
Hm, what would you do with such an option in a multi-lang environment? Maybe something like that could be part of the language setup in a future version, but right now, you would have to set this option as an array with an entry for each language .
I can admit that I did not think about multi lang enviroments.
Maybe l::get('date.format', $format) for each language and a fallback to a c::get('date.format', $format) option when l::get is missing and on single lang installations?
@jenstornell Iām going to mark this as a suggestion here, feel free to create a feature request issue on GitHub, though. For Kirby itself such a setting is not really useful, because a default date format is not needed, but I see your use case.