[Gambas-bugtracker] Bug #1969: result of function Format () is error

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Nov 27 14:29:37 CET 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1969&from=L21haW4-

Comment #32 by Benoît MINISINI:

More explanation: the goal of Format$() is to be able to display dates (and numbers) in all possible countries with the same code, by using the predefined formats.

When you use an explicit format, you get what you want, of course, but you break the rules and makes your code work only in your own language.

Now, with the last commits, Gambas strictly follows what the GNU libc provides when using 'gb.GeneralDate' and 'gb.LongDate' formats. The red lines in the table of your docx file should be fixed. You will tell me. :-)




More information about the Bugtracker mailing list