[Gambas-user] Format & localization bug

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Jan 12 22:15:13 CET 2021


>
> If you are sure that the format returned by "date +%c" is not correct,
> tell me the correct format, and I will add a patch to the interpreter.
>

I tried to look this up and there seems to be many accepted formats,
however what that command shows doesn't seem to be any of them.
This is one of the accepted formats, but it may not be easy to implement.
"12. tammikuuta 2021 22.55.05"

"Tammikuu" means "January", but in the format it is "tammikuuta", which
means "of January".
Usually we see dates in format: "12.1.2021", "Tiistai 12.1" or just "12.1"
and times in "22:55" or "klo 22.55" (to avoid the confusion in cases of
"12.10 date or time?").
Even our national broadcasting company uses these de facto formats.
See example here: https://yle.fi/uutiset


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210112/fc3a2b17/attachment-0001.htm>


More information about the User mailing list