Ed Leafe wrote:
> On Jan 13, 2008, at 12:53 PM, Uwe Grauer wrote:
> 
>> If i read the code of dDateTextBox right, it doesn't allow european
>> date formats like 01.12.2008.
>> Is this correct?
>> It states to support ISO 8601, which doesn't allow formats like
>> dd.mm.yyyy.

The above means day.month.year :-)

> 
>       We used to support all sorts of formats, but there were lots of  
> problems with dates such as 02.03.2008: is that March 2 or Feb 3? I'd  
> like to support more than just the current, but I believe that the  
> locale settings will have to be incorporated into the code.
> 

Yes, of cause.
I wonder about this because the wxpython DatePickerControl does it
correctly depending on the locale.

>       What is the default on your system? IOW, what do you get when you  
> run this:
> 
> import datetime
> print datetime.date.today()
> \

My default LANG is en_US.UTF-8, which doesn't help for what you want to
know.
But even if i change my default LANG to de_DE.UTF-8 i get: 2008-01-13

I'm not sure if datetime.date.today() should have a different
outcome on other LANG settings.

Should i add a ticket for this so we wont forget about the issue?

Uwe


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to