No such things as AM and PM exists in modern Denmark where the clock is based on 24 hour.
In order to carry out a proper localization we need a 12/24 hour selection in the language settings.
And like Roland previously said, it also would be nice if the size of the clock and its associated text could be reduced substantially.
Currently we have a $DATE_FORMAT variable in the language settings for the language's date format. What if we add a $TIME_FORMAT variable that would allow you to set the time you want. To make it simple it could follow the conventions of the PHP date function.
So for English: $TIME_FORMAT="g:i:sa";
For Danish: $TIME_FORMAT="G:i:s";
How does this sound?
Would this be a user setting?
If the site had a default could the user pick up the site default unless the user selected a different one?
I think I will first add it as a global setting.
Later we can talk about a user setting :-)
I will work on this issue this weekend :-)
G = 24 hour no leading zeroes.
i = minutes with leading zero (not available without leading zeroes)
s = seconds with leading zero (not available without leading zeroes)
It sounds fine with me, and the date is already okay i.e. the name of the month is in Danish and starts correctly with lower case.
However, since the time is static, it may be a good idea to drop the seconds ?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.