Hi everyone,
In french we write hours like that : 11h34 (h = heures). I'd like to format hours this way in Contao configuration but don't know how to do it.
Thanks for help.
Printable View
Hi everyone,
In french we write hours like that : 11h34 (h = heures). I'd like to format hours this way in Contao configuration but don't know how to do it.
Thanks for help.
Hi,
you could use this time format:Explanation:Code:H\hi
- "H" returns the hours with leading zeros
- "\h" return the "h" (The "\" escapes the letter)
- "i" return the minuites
Greeting, Cliff
Hi Cliffen,
Thanks for your answer. I did it but datepicker doesn't see the escape character (\) and so consider h as hour with no leading zero.
Is there a way to bypass or deactivate datepicker ?
I think it would be better to distinguish between the configuration in the backend and the output in the frontend.
I would suggest:
- keep the default englisch format in the "system setitngs" ... this will be used in backend
- define your custom time format in the page settings (see root page of your page tree) ... this will be used in frontend
Regards, Cliff
Just tried but doesn't work. And work no more in MetaModels.
Thanks spooky. I know it because I wrote it ;-) Charled and JLBA are the same person.