[Gambas-user] gb.GeneralDate formatting is inconsistent

Benoît Minisini gambas at ...1...
Sat Feb 11 09:38:14 CET 2012


Le 06/02/2012 06:44, Zach Smith a écrit :
>> gb.GeneralDate prints the date part the short way (dd/mm/yy) and prints
>> the time if it is not zero.
>
> The middle example is still inconsistent if one expects 00:00:00 to be
> a valid time, that is, midnight (12:00 AM).  Also note that the format
> is mm/dd/yy only if the time is not 00:00:00.  One can get around this
> by using a "mm/dd/yyyy hh:nn:ss" format string but having
> gb.GeneralDate work for all dates and times would be helpful.

I think it should be more coherent with revision #4464. Can you confirm?

-- 
Benoît Minisini




More information about the User mailing list