[Gambas-user] TextBox and TextLabel do not respect the locale

Pino Zollo pinozollo at ...626...
Mon Jul 20 14:32:12 CEST 2009


Hi,

I receive a date from a query to the database...let's say rData!x_date ...

The database is set to 
rData = Mglobal.$hConn.Exec("SET SESSION datestyle TO DMY") 

DMY data style...the locale of the computer is Italian so DMY also.

If I write  rData!x_date into a GridView or into a string all goes OK,
but if I write  rData!x_date into a TextBox or into a TextLabel then
I get MDY format..i.e. the month before the day.

(Gambas 2.14, QT, Gnome, Debian 5.0.1)

Regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net




More information about the User mailing list