Ticket #14918 (closed defect: fixed)
Fix locale mismatch between CRT and Windows functions in wxMSW
| Reported by: | vadz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.5 |
| Component: | wxMSW | Version: | |
| Keywords: | locale wxDateTime | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
As explained in the first message of this thread, there is a mismatch between the locale used by the CRT functions such as strftime(), used by wxDateTime::Format(), and Windows functions such as GetLocaleInfo(), used by wxDateTime::Parse(), resulting in incompatibility between these 2 functions.
I don't see any good solution for this but changing Windows locale to match the CRT one seems less bad than using Windows locale by default (whether via CRT or not).
Change History
Note: See
TracTickets for help on using
tickets.
