[Bug 26536] New: strftime using wrong locale

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 24 05:38:36 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26536

           Summary: strftime using wrong locale
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: diafero at arcor.de


strftime is using the wrong locale in two applications for me (could not find
any others using this function): In the game "Uru" by Cyan, and in the "Vault
Manager" Cyan published years ago to manage your own Uru servers. In both
cases, when I start the applications on a German Windows system, they use the
English locale for strftime, so I get times like "10:23 AM" (I Know it's
definitely strftime for Uru since that string is created by the Python part of
the game, and the line in the source code says timestr =
time.strftime('%m/%d/%Y %I:%M %p', currenttime)).
If however I start these applications on my German Kubuntu, the "AM" just
vanishes, so I can not even tell whether this is 10:23 or 22:23. In addition,
the "Vault Manager" also displays abbreviations of month names, and in case of
"Mär" (for März = March), it has trouble with the special character: It says
"Mär".
In both cases, starting wine with LC_ALL=C fixes the issues.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list