wxDateTime Locale problem with wxWinCE

koen at vermeer.tv koen at vermeer.tv
Tue Sep 4 02:23:29 PDT 2007


> wxDateTime::FormatDate() and  wxDateTime::FormatTime() always return the
> GMT-8 date/time.

In the constructor of my wxApp, I do:

    wxLocale wxLoc;
    wxLoc.Init(wxLANGUAGE_DEFAULT);

That seems to do the trick for me (2.8.4 on WinXP).

Koen






More information about the wx-users mailing list