[wx-dev] Re: #3049: wxDateTime::ParseDate problem
wxTrac
noreply at wxsite.net
Sun Jun 1 07:41:09 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/3049#comment:2>
#3049: wxDateTime::ParseDate problem
------------------------+---------------------------------------------------
Reporter: johnskiff | Owner:
Type: defect | Status: confirmed
Priority: low | Milestone:
Component: base | Version:
Resolution: | Keywords:
Blockedby: | Patch: 0
Blocking: |
------------------------+---------------------------------------------------
Changes (by vadz):
* priority: normal => low
* status: new => confirmed
Comment:
We really should use `GetLocaleDateFormat()` as the first guess and only
try something else if it doesn't work. Of course, we'd still have the
problem with misparsing dates if they do 'not' use the user format then
but it would probably be less severe.
In any case, the only real solution is to use `ParseFormat()` (which does
understand the user date format) and this is what should be done if
possible.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/3049#comment:2>
More information about the wx-dev
mailing list