[Gambas-user] Locale question and gambas and dates.

richard terry rterry at ...1823...
Wed Nov 30 11:48:29 CET 2011


On Wednesday 30 November 2011 21:33:55 Benoît Minisini wrote:
> Le 30/11/2011 11:22, richard terry a écrit :
> > I have had the occasion to install my svn and get it up/running on
> > kubuntu 11, god what a pain.
> >
> > Anway when I ran the program, virtualy nothing would save, because:
> >
> > IsDate(textbox1.text)  always returned false for a correct date (AU).
> >
> > I looked and found that he had the locale set to America.
> >
> > I changed it back to Australia, but to no avail, still won't save. If I
> > put the dates in american (eg 11/30/11) then it saves ok.
> >
> > I tried re-compiling gambas once I'd changed the locale, to no avail.
> >
> > ?any suggestions - must be some sort of setting
> >
> > regards
> >
> > Richard
> 
> Can you elaborate? I am not australian, I don't know how dates should be
> written in australian. 

         dd/mm/yyyy

> 
> To check how australian dates are configured by the C library, just give
> me the result of: Print Format(Now, gb.GeneralDate)

30/11/2011 21:39:14 (on my laptop) with AU locale. 

The other one with locate (apparently according to the system set to AU)

11/30/2011 21:39:14 
> 
> Regards,
> 




More information about the User mailing list