|
Gnucash 2.4.9, OS X 10.6.8
I have Australia set for my locale (Region in OS X System Preferences>Language & Text), and according to it, dates should be d/mm/yy or dd/mm/yyyy in the formats that don't use the month name. However, if GnuCash>Preferences>Date/Time is set to Locale, dates are displayed (both in the preference panel and in registers) as mm/dd/yy. If I set the date format to be UK in GnuCash>Preferences>Date/Time, I get the date format I want, but hey, I'm not in the UK, and my correctly set Locale/Region should work with GnuCash 2.4.9. It worked just fine in GnuCash 2.4.8. When I run Terminal, the only locale-related environment variable I find is LANG=en_AU.UTF-8. Any other Snow Leopard (10.6.x) users in non-North American date format areas having similar problems? Does Lion have similar problems? Windows or Linux versions? Peter -- Peter Lamb Canberra, ACT _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
On Sun, 2012-01-22 at 17:07 +1100, prl wrote:
> Gnucash 2.4.9, OS X 10.6.8 > > I have Australia set for my locale (Region in OS X System > Preferences>Language & Text), and according to it, dates should be > d/mm/yy or dd/mm/yyyy in the formats that don't use the month name. > However, if GnuCash>Preferences>Date/Time is set to Locale, dates are > displayed (both in the preference panel and in registers) as mm/dd/yy. > > If I set the date format to be UK in GnuCash>Preferences>Date/Time, I > get the date format I want, but hey, I'm not in the UK, and my correctly > set Locale/Region should work with GnuCash 2.4.9. It worked just fine in > GnuCash 2.4.8. When I run Terminal, the only locale-related environment > variable I find is LANG=en_AU.UTF-8. So LC_TIME not set? I grepped the sources, no d_fmt, only d_t_fmt My glibc /usr/share/i18n/locales/ on Linux: en_US d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062> <U0020><U0025><U0059><U0020><U0025><U0072><U0020><U0025><U005A>" en_GB d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062> <U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>" en_AU d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062> <U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>" AU and GB are the same, US differs I have not much more to help _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
On 22/01/12 22:36, tjoen wrote:
> On Sun, 2012-01-22 at 17:07 +1100, prl wrote: >> ... It worked just fine in >> GnuCash 2.4.8. When I run Terminal, the only locale-related environment >> variable I find is LANG=en_AU.UTF-8. > So LC_TIME not set? > > ... > No, LC_TIME isn't set when I run Terminal, but I don't know where it picks up its environment from. But the OS X date/time formats and locale weren't changed when I upgraded from 2.4.8 to 2.4.9. Peter _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
In reply to this post by prl
Gnucash 2.4.11, OS X 10.6.8 (and 10.7.4) Dear Peter, I don't know whether you already solved your problem, but I have the same trouble with the Dutch locale. It worked correctly under Snow Leopard in Gnucash 2.4.8, then I tried 2.4.10 on another system which is running Lion and the same files that were ok on the first system showed the wrong dates. I continued to install 2.4.11 on the first system and voila, all the dates changed back to the default US style. I'm using the following defaults: { AppleLanguages = ( nl, en ); AppleLocale = "nl_NL"; } (see http://wiki.gnucash.org/wiki/Locale_Settings#Changing_the_Language_on_OSX on how to set these) Hope anyone will pick this up, I will report it on the bugtracker, too. Kind regards, Titus Nachbauer PS: as this is my first post to this list, please tell me if I made any netiquette mistake. |
|
Hi, Titus.
I'm still having the same problem with the date when I set GnuCash Preferences>Date/Time>Date Format to "Locale". I'm running OSX Lion 10.7.4 and GnuCash 2.4.11. It's not the stored dates changing, it's simply the way that they are displayed. As I said in my original post, I can work around the problem by setting the date format to UK, but Australia stopped being (a colony of) the UK in 1901. It seems something's a bit slow on the uptake. You can likewise work around the problem by using either UK format for dd/mm/yyyy or Europe format for dd.mm.yyyy. But of course GnuCash should be using the correct date format for the locale. And no, I don't think you've committed any netiquette faux pas. Cheers, Peter On 26/07/12 03:22, titusn wrote: > prl wrote >> Gnucash 2.4.9, OS X 10.6.8 >> >> I have Australia set for my locale (Region in OS X System >> Preferences>Language & Text), and according to it, dates should be >> d/mm/yy or dd/mm/yyyy in the formats that don't use the month name. >> However, if GnuCash>Preferences>Date/Time is set to Locale, dates are >> displayed (both in the preference panel and in registers) as mm/dd/yy. >> >> If I set the date format to be UK in GnuCash>Preferences>Date/Time, I >> get the date format I want, but hey, I'm not in the UK, and my correctly >> set Locale/Region should work with GnuCash 2.4.9. It worked just fine in >> GnuCash 2.4.8. When I run Terminal, the only locale-related environment >> variable I find is LANG=en_AU.UTF-8. >> >> Any other Snow Leopard (10.6.x) users in non-North American date format >> areas having similar problems? Does Lion have similar problems? Windows >> or Linux versions? >> >> Peter >> >> > Gnucash 2.4.11, OS X 10.6.8 (and 10.7.4) > > Dear Peter, > > I don't know whether you already solved your problem, but I have the same > trouble with the Dutch locale. It worked correctly under Snow Leopard in > Gnucash 2.4.8, then I tried 2.4.10 on another system which is running Lion > and the same files that were ok on the first system showed the wrong dates. > I continued to install 2.4.11 on the first system and voila, all the dates > changed back to the default US style. I'm using the following defaults: > > { > AppleLanguages = ( > nl, > en > ); > AppleLocale = "nl_NL"; > } > > (see > http://wiki.gnucash.org/wiki/Locale_Settings#Changing_the_Language_on_OSX > http://wiki.gnucash.org/wiki/Locale_Settings#Changing_the_Language_on_OSX > on how to set these) > > Hope anyone will pick this up, I will report it on the bugtracker, too. > > Kind regards, > > Titus Nachbauer > > PS: as this is my first post to this list, please tell me if I made any > netiquette mistake. > > > > > > -- > View this message in context: http://gnucash.1415818.n4.nabble.com/Gnucash-2-4-9-wrong-date-format-for-locale-OS-X-10-6-8-tp4317797p4655865.html > Sent from the GnuCash - User mailing list archive at Nabble.com. > _______________________________________________ > gnucash-user mailing list > [hidden email] > https://lists.gnucash.org/mailman/listinfo/gnucash-user > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
Hi Peter,
Thanks for the swift reply. The workarounds do not seem to be working for me. It just keeps defaulting to the US format regardless of what I chose in the properties dialog. Luckily one of the programmers could reproduce this behaviour and is already tracking the bug. So hopefully it will be solved in a newer version.
Kind regards, Titus
On Thu, Jul 26, 2012 at 2:28 AM, prl [via GnuCash] <[hidden email]> wrote:
|
|
titusn schreef op do 26-07-2012 om 01:11 [-0700]:
> Thanks for the swift reply. The workarounds do not seem to be working for > me. It just keeps defaulting to the US format regardless of what I chose in > the properties dialog. Luckily one of the programmers could reproduce this > behaviour and is already tracking the bug. So hopefully it will be solved > in a newer version. I am not familiar with OS X. Is the libc like glibc? i.e. does it have the file /usr/share/i18n/locales/en_AU ? And do you have the tool localedef ? Then perhaps it is possible to adjust it. _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
On 27/07/12 03:10, tjoen wrote:
> titusn schreef op do 26-07-2012 om 01:11 [-0700]: >> Thanks for the swift reply. The workarounds do not seem to be working for >> me. It just keeps defaulting to the US format regardless of what I chose in >> the properties dialog. Luckily one of the programmers could reproduce this >> behaviour and is already tracking the bug. So hopefully it will be solved >> in a newer version. > I am not familiar with OS X. Is the libc like glibc? > i.e. does it have the file /usr/share/i18n/locales/en_AU ? No, OS X doesn't have /usr/share/i18n/locales; its locales are in /usr/share/locale. And while that locale setting would be appropriate for me, it wouldn't be appropriate for titusn, who is in the Netherlands, not in Australia. His locale is set to NL_nl and according to its locale file, his dates should be displayed as 31-7-2012 or 31-07-2012. > And do you have the tool localedef ? > Then perhaps it is possible to adjust it. Locale setup in OS X is normally done using System Preferences>Language & Text>Formats. My setup shows that the locale setting for dates that don't use the month name is 31/07/2012 or 31/7/2012, depending on whether leading zeros are required in the dates. It seems to be just GnuCash that gets this wrong. Titusn's locale setup also appears to me to be correct. I have tested the Dutch/Netherlands locale on my Mac, and I can verify that GnuCash uses the date format 07/31/2012 when it's set to Locale, and not the format it should be using for that Dutch/Netherlands, 31-07-2012. However, unlike titusn, I can still get both the Gnucash Date/Time preferences UK (31/07/2012) or Europe (31.07.2012) date formats to work when the machine locale setting is Dutch/Netherlands, while he doesn't seem to be able to get either to work. Surely the use of GnuCash on OS X beyond the USA and South Africa (which also appears to use 07/31/2010) is widespread enough that this bug affects more people than just titusn and me! Peter _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
On Jul 26, 2012, at 4:09 PM, prl wrote: > On 27/07/12 03:10, tjoen wrote: >> titusn schreef op do 26-07-2012 om 01:11 [-0700]: >>> Thanks for the swift reply. The workarounds do not seem to be working for >>> me. It just keeps defaulting to the US format regardless of what I chose in >>> the properties dialog. Luckily one of the programmers could reproduce this >>> behaviour and is already tracking the bug. So hopefully it will be solved >>> in a newer version. >> I am not familiar with OS X. Is the libc like glibc? >> i.e. does it have the file /usr/share/i18n/locales/en_AU ? > No, OS X doesn't have /usr/share/i18n/locales; its locales are in /usr/share/locale. And while that locale setting would be appropriate for me, it wouldn't be appropriate for titusn, who is in the Netherlands, not in Australia. His locale is set to NL_nl and according to its locale file, his dates should be displayed as 31-7-2012 or 31-07-2012. >> And do you have the tool localedef ? >> Then perhaps it is possible to adjust it. > Locale setup in OS X is normally done using System Preferences>Language & Text>Formats. My setup shows that the locale setting for dates that don't use the month name is 31/07/2012 or 31/7/2012, depending on whether leading zeros are required in the dates. It seems to be just GnuCash that gets this wrong. Titusn's locale setup also appears to me to be correct. I have tested the Dutch/Netherlands locale on my Mac, and I can verify that GnuCash uses the date format 07/31/2012 when it's set to Locale, and not the format it should be using for that Dutch/Netherlands, 31-07-2012. However, unlike titusn, I can still get both the Gnucash Date/Time preferences UK (31/07/2012) or Europe (31.07.2012) date formats to work when the machine locale setting is Dutch/Netherlands, while he doesn't seem to be able to get either to work. > > Surely the use of GnuCash on OS X beyond the USA and South Africa (which also appears to use 07/31/2010) is widespread enough that this bug affects more people than just titusn and me! South Africa? Titus said that he's using nl_NL, which isn't South Africa. Anyway, I can confirm that whatever changed, changed between the 2.4.8 and 2.4.9, but after testing new builds I can also say that the change isn't in Gnucash. It's in a dependency package; I just need to figure out which one. In the meantime, you can set LC_TIME to your locale (en_AU for you and nl_NL for Titus) in Gnucash.app/Contents/MacOS/Gnucash by adding the line export LC_TIME=en_AU anywhere before the last line. Regards, John Ralls _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
On Fri, Jul 27, 2012 at 4:33 AM, John Ralls <[hidden email]> wrote:
> > On Jul 26, 2012, at 4:09 PM, prl wrote: > > > Surely the use of GnuCash on OS X beyond the USA and South Africa (which > also appears to use 07/31/2010) is widespread enough that this bug affects > more people than just titusn and me! > > South Africa? Titus said that he's using nl_NL, which isn't South Africa. > > Anyway, I can confirm that whatever changed, changed between the 2.4.8 and > 2.4.9, but after testing new builds I can also say that the change isn't in > Gnucash. It's in a dependency package; I just need to figure out which one. > In the meantime, you can set LC_TIME to your locale (en_AU for you and > nl_NL for Titus) in Gnucash.app/Contents/MacOS/Gnucash by adding the line > > export LC_TIME=en_AU > > anywhere before the last line. > Hi John, Yes, it's the Netherlands. But that's not too far from South Africa as seen from Oz. :-) Thanks a lot for the workaround. That is working for me. Perfect timing, I just finished the balance sheet and now I can print it with the correct dates! Be sure to let us know once you found the dependency. Titus www.titusnachbauer.com _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
|
In reply to this post by John Ralls-2
On 27/07/12 12:33, John Ralls wrote: > > Anyway, I can confirm that whatever changed, changed between the 2.4.8 and 2.4.9, but after testing new builds I can also say that the change isn't in Gnucash. It's in a dependency package; I just need to figure out which one. > In the meantime, you can set LC_TIME to your locale (en_AU for you and nl_NL for Titus) in Gnucash.app/Contents/MacOS/Gnucash by adding the line > > export LC_TIME=en_AU > > anywhere before the last line. > > Regards, > John Ralls > Date/Time settings now works properly. Thanks, Peter _______________________________________________ gnucash-user mailing list [hidden email] https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. |
| Powered by Nabble | Edit this page |
