[Gambas-user] Default dates format

Fabien Bodard gambasfr at ...11...
Mon Jan 2 12:50:01 CET 2006


Le Dimanche 1 Janvier 2006 23:18, Marco Gusy a écrit :
> ok, but if i'm doing someting like this
> treeview.add("a",result["date"])
> the program auto-converts to string using the cdate behaviour, and not the
> localized one... Don't know if this is a bug or a feature.... ;-)

it's a feature use :

treeview.add("a",str(result["date"]))

the date is stored in US format... it's a standart...

Regards,
Fabien Bodard


>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list