[wxPython-users] Annoying problem with DatePickerCtrl.SetValue()
Kao Cardoso Felix
kcfelix at gmail.com
Tue Aug 1 16:43:42 PDT 2006
On 8/1/06, Robin Dunn <robin at alldunn.com> wrote:
> I can't duplicate the problem. Please make a small runnable sample app
> that shows the problem for you and send it here.
>
Sorry, very lame of me. Seems like the default date format on win2k would
give me something in the 'dd/mm/yy' format. Parsing this data would give a
new date with month and day swapped and year like 0006 for 2006. I just
noticed that testing again on home in my linux box. At my work place in
win2k, even on the debugger, the year would show itself as 06 no matter if
it was 2006 or 0006 that was why I assumed the date to be right.
Well, using Format and ParseFormat with an apropriate format string will
give me the right results.
Again, sorry for the bother and thanks for the help =3D)
-- =
Kao Cardoso F=E9lix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200608=
01/9b0feb03/attachment.htm
More information about the wxpython-users
mailing list