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

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Nov 17 17:24:19 CET 2020


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

Comment #9 by Tony MOREHEN:

I started getting some weird Datebox behaviour with the latest master.
After setting the value to Date(Now), the Datebox textbox would show "2020--11--17" and a check of Value would return Null.
The problem appears to be the format function.  It seems to crash when given an explicit format string.
ie format(date,"yyyy-mm-dd") crashes, while format(date,gb.shortdate) does not.

Note: "2020--11--17" causes Value_Read to return Null




More information about the Bugtracker mailing list