[Gambas-user] Locale question and gambas and dates.
Dag-Jarle Johansen
dag.jarle.johansen at ...626...
Wed Nov 30 15:21:51 CET 2011
ups, just opposite
dd/mm/yyyy is in fact european
and if you see that if you go to your calendar in Kubuntu it should be ok.
If you need to convert the datestring, write a little sub, I do have
something lying around here, if you want to. I am used to convert almost
every date to MySql-formats and back
regards
Dag-Jarle
2011/11/30 Dag-Jarle Johansen <dag.jarle.johansen at ...626...>
> hi,
>
> looks like the same format as the american to me, so I rather think this
> is a linuxbug rather than a gambas-bug.
> my humble opinion.
>
> Regards,
> Dag-Jarle
>
>
> 2011/11/30 richard terry <rterry at ...1823...>
>
>> 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,
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> 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