Right now it's only possible to define language-dependent date formats for the input components of a template. Our customer wants the editors to see the date AND time inside the input form of a template, but ONLY the date to be displayed when the respective page is published. If I want a different output format for a date than the one that is defined in the input component, I can only select one format using the .format() function inside $CMS_VALUE(...)$.
I'd like to have the possibility to define different output formats for different languages when displaying a date, within a simple function that can be used inside $CMS_VALUE$, e.g. $CMS_VALUE(st_date.format(*:"MM/dd/yyyy",DE:"dd.MM.yyyy"). Alternatively the LANGINFO-element could be extended by another parameter, e.g. output-format="..."