[Bug 17721] New: RTG Bills reports dates incorrectly in bills for date formats (locals) not US

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 14 01:31:17 CDT 2009


           Summary: RTG Bills reports dates incorrectly in bills for date
                    formats (locals) not US
           Product: Wine
           Version: 1.1.15
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: mstuff at read.org.nz

This is a bit of a major that I'm unsure whether is a bug with RTG Bills or
WINE...  But, here's a workaround/fix for it below.

My local is New Zealand, my default language is LANG="en_NZ.UTF-8" with dates
expressed "days / months / years" (like most of the world).

Setting the dates in RTG Bills to my format results in any dates in the form
"days / months / years" that make sense expressed as "months / days / years"
being expressed as "months / days / years".  For instance: 10th March 2009
(10/3/09) is expressed on bills as 3rd October 2009 (3/10/09)!!!

A workaround/fix seems to be to set the environment variable $LANG to
LANG="en_US.UTF-8" and then set the date format in RTG Bills to be expressed as
"days / months / years".  RTG Bills provides a "test" facility to check that
date formats are sane for the system local settings, if this facility is used
it will report that the format is "insane" and change it back to the "months /
days / years" format.  The answer is not to "test", but simply leave the format
"untested" as "days / months / years" and save the setting.  RTG Bills then
seems to report dates correctly in its bills.

So, my command to execute RTG Bills is:
env WINEPREFIX="/home/myhome/.Rtgbills" LANG="en_US.UTF-8" wine
"C:\Program Files\Rtgbills\rtgbills.exe"

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