i'm lost with ParseDate and FormatDate (wx2.9)

Vadim Zeitlin vadim at wxwidgets.org
Sun Feb 3 03:59:44 PST 2008


On Sun, 03 Feb 2008 11:27:42 +0100 Riccardo Cohen <rcohen at articque.com> wrote:

RC> Vadim Zeitlin wrote:
RC> > RC> Results : FR WINDOWS
RC> > RC> --------------------
RC> > ...
RC> > RC> Parse %x/Format %x
RC> > RC> string is 01/07/2000
RC> > RC> Month is 6 Year is 2000
RC> > RC> Format is 01/07/2000
RC> > RC> Month is 6 Year is 2000
RC> > RC> Format is 01/07/2000
RC> > RC> 
RC> > RC> ===> OK
RC> > RC> 
RC> > RC> Results : GB WINDOWS
RC> > RC> --------------------
RC> > ...
RC> > RC> Parse %x/Format %x
RC> > RC> string is 01/07/2000
RC> > RC> Month is 6 Year is 2000
RC> > RC> Format is 01/07/2000
RC> > RC> Month is 6 Year is 2000
RC> > RC> Format is 01/07/2000
RC> > RC> 
RC> > RC> ===> #BAD month is the second number
RC> > 
RC> >  I don't understand why is this bad. The result is exactly the same as for
RC> > French Windows above.
RC> 
RC> because as far as I know, in england month is first, no ?

 Only for en_US, not en_GB.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list