[Gambas-user] gb.GeneralDate formatting is inconsistent

Benoît Minisini gambas at ...1...
Sun Feb 5 09:08:46 CET 2012


Le 05/02/2012 08:40, Benoît Minisini a écrit :
> Le 03/02/2012 05:41, Zach Smith a écrit :
>> The gb.GeneralDate formatting appears to be inconsistent in the
>> handling of time 00:00:00..
>>
 >> ...
>
> Actually the third formatting is inconsistent.
>
> gb.GeneralDate prints the date part the short way (dd/mm/yy) and prints
> the time if it is not zero.
>
> But CDate("00:00:00") is a special value, the "null" date. It should
> print nothing, as IsNull(CDate("00:00:00")) = True.
>
> Regards,
>

It should be more consistent now in revision #4449.

Regards,

-- 
Benoît Minisini




More information about the User mailing list