Re: [GNC] First Day of the Week

2019-08-18 Thread Liz
On Mon, 12 Aug 2019 15:40:26 -0400 John Morris wrote: > Years ago, I wrote about my inability to make GnuCash start the week > on Monday instead of Sunday. This is not strictly related to Gnucash, but today an interesting piece was posted on ABC News https://www.abc.net.au/news/2019-08-18/which-

Re: [GNC] First Day of the Week

2019-08-13 Thread John Morris
Curiouser and curiouser. I just booted my 2014 MacBook Pro in Mojave. I was hoping to see good results, but I was disappointed. My experience on Mojave was identical to my experience on El Capitan. I first tried changing just the day of the week and creating a new set of books. Then, I tried cha

Re: [GNC] First Day of the Week

2019-08-13 Thread Michael Hendry
> On 13 Aug 2019, at 17:00, Adrien Monteleone > wrote: > > I think Christopher confirmed earlier that the Transaction Report code is not > considering locale at all. > > There’s already a bug on it from 2015: > https://bugs.gnucash.org/show_bug.cgi?id=752395 > > Though it seems at that point

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
I think Christopher confirmed earlier that the Transaction Report code is not considering locale at all. There’s already a bug on it from 2015: https://bugs.gnucash.org/show_bug.cgi?id=752395 Though it seems at that point in time, the report was stuck on Monday instead of Sunday! Regards, Adr

Re: [GNC] First Day of the Week

2019-08-13 Thread John Morris
Hi Michael, Thank you for chiming in. This is very good news. Perhaps I just need to move further up the OS ladder. I'm currently working with a 2008 MacBook Pro that cannot run anything beyond El Capitan. However, I do also plan to move my 2014 MacBook Pro to Mojave. If it works correctly for

Re: [GNC] First Day of the Week

2019-08-13 Thread John Morris
Hi Adrien, Thanks for the clarification. I certainly agree that this could be a problem in GTK. I don't have enough information about GnuCash's inner workings to make that judgment. Best, John > On Aug 13, 2019, at 4:04 AM, Adrien Monteleone > wrote: > > But I don’t think GnuCash is doing

Re: [GNC] First Day of the Week

2019-08-13 Thread John Morris
Hi Catscrash, Thank you for confirming that at least someone can get GnuCash to use Monday as the first day of the week. Unfortunately, the pictures did not come through, but I believe you that it is working on your system. I'm not sure how to describe the report I'm referring to. On my syst

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
Presently, they are all set to en_US.UTF-8, but when I switch to UK, they are all en_GB.UTF-8 like yours. Note that changing only the first day of the week (and leaving the locale alone) in System Preferences doesn’t change any locales for me. (but presumably writes the ‘first_weekday 2’ line i

Re: [GNC] First Day of the Week

2019-08-13 Thread Michael Hendry
> On 13 Aug 2019, at 14:52, Adrien Monteleone > wrote: > > Thanks Michael, > > That is interesting. > > I just changed my Mac to UK, even restarted the computer, still the date > picker shows Sunday as the first day. > > Maybe this is a change in Mojave? > > Maybe some sort of user profile

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
Thanks Fred, so we know it isn’t a 3.6 change. (though I do see the SX Editor starts on Sunday now instead of Monday, which isn’t consistent with the locale) Regards, Adrien > On Aug 13, 2019, at 5:17 AM, Fred Bone via gnucash-user > wrote: > > On 13 August 2019 at 2:57, Adrien Monteleone sai

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
Thanks Michael, That is interesting. I just changed my Mac to UK, even restarted the computer, still the date picker shows Sunday as the first day. Maybe this is a change in Mojave? Maybe some sort of user profile corruption myself and the OP share? Anyone out there on Mojave with Monday work

Re: [GNC] First Day of the Week

2019-08-13 Thread Derek Atkins
Christopher Lam writes: > On Tue., 13 Aug. 2019, 11:12 John Morris, wrote: > >> I set this up with a simple transaction report by setting the date range >> to run from the "start of previous month" to "today". I then set the >> primary sort key to "Date" and the primary subtotal for date key to

Re: [GNC] First Day of the Week

2019-08-13 Thread Lawrence Joy via gnucash-user
I lived in Singapore for four years and their first day of the week is Monday. There are other other countries that follow this also, I believe Spain is one of them.--Regards, Larry ___ gnucash-user mailing list gnucash-user@gnucash.org To update your s

Re: [GNC] First Day of the Week

2019-08-13 Thread Fred Bone via gnucash-user
On 13 August 2019 at 2:57, Adrien Monteleone said: > Hmm.. > > Is there anyone using Windows with a Monday first setup that works > correctly? Windows 10, system week-start setting is Monday. 2.6.21: The calendar in the SX Editor starts the week on Monday. I have no idea where it derives the

Re: [GNC] First Day of the Week

2019-08-13 Thread Michael Hendry
> On 13 Aug 2019, at 09:13, Adrien Monteleone > wrote: > > I spoke too soon. > > It turns out that GIMP has a date picker when editing meta data. > > It also does not honor the first day of week setting in MacOS preferences. > > So this is a problem with GTK, not just GnuCash. > > The questi

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
I spoke too soon. It turns out that GIMP has a date picker when editing meta data. It also does not honor the first day of week setting in MacOS preferences. So this is a problem with GTK, not just GnuCash. The question is then, can a proper locale file be stored by the user to override the de

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
But I don’t think GnuCash is doing that. (telling the widget to draw a calendar with first_weekday set to ‘Monday’) It is calling GtkCalendar() and that widget doesn’t have a setting for defining the first day. Now, since it seems to work on Ubuntu as another user reported, maybe the widget is l

Re: [GNC] First Day of the Week

2019-08-13 Thread Adrien Monteleone
Hmm.. Is there anyone using Windows with a Monday first setup that works correctly? Is this only a problem with GTK on MacOS? (the mailing list allows attachments, but it is finicky —better to use a linked image on a hosting site) Regards, Adrien > On Aug 13, 2019, at 12:11 AM, Catscrash wro

Re: [GNC] First Day of the Week

2019-08-12 Thread Catscrash
Hi, at least for Ubuntu this is definitely not a problem. I don't know if the mailinglist allows pictures, but the date-chooser definitely shows the monday as first day of the week: I have the date settings in gnucash set to system default and my ubuntu is set to german I'm not sure how to get

Re: [GNC] First Day of the Week

2019-08-12 Thread Christopher Lam
On Tue., 13 Aug. 2019, 11:12 John Morris, wrote: > I set this up with a simple transaction report by setting the date range > to run from the "start of previous month" to "today". I then set the > primary sort key to "Date" and the primary subtotal for date key to > "Weekly". If there is a way t

Re: [GNC] First Day of the Week

2019-08-12 Thread John Morris
Hi Adrien, > How does first day of the week affect reports in GnuCash? The only report I > can think of that might be an issue is the Expenses/Income vs. Day of the > week, but each day is reported separately, though Sunday is listed first in > the key, it is a pie chart. All other date selecti

Re: [GNC] First Day of the Week

2019-08-12 Thread John Morris
Hi Frank, Thank you for thinking about my little problem. I don't understand why we would assume this is a bug in GTK. If GnuCash tells GTK to create a calendar with Sundays as the first day of the week, it should obey. The problem is that some code is not looking at the locale setting on my

Re: [GNC] First Day of the Week

2019-08-12 Thread John Morris
Hi Ken, Thanks for thinking about my little problem. However, I don't see how this would help. The regular Mac interface gives me the option to change the start of the week from the locale's default. GnuCash should be reading that change like all the other date-aware applications. It does not.

Re: [GNC] First Day of the Week

2019-08-12 Thread Adrien Monteleone
From that page it seems that they didn’t provide a means for setting first day of the week. A cursory search of how to set first day of the week to Monday using Gnome (Ubuntu forums) explained to edit the /usr/share/i18n/locales file for your locale and either edit or add the line: first_weekd

Re: [GNC] First Day of the Week

2019-08-12 Thread Frank H. Ellenberger
Hi John, have a look at https://developer.gnome.org/gtk3/stable/GtkCalendar.html and tell me, the right call. I didn't see it and fear, you should complain at the GTK team. Regards Frank Am Mo., 12. Aug. 2019 um 23:10 Uhr schrieb John Morris : > > Hi Adrien, > Thank you for your interest. The

Re: [GNC] First Day of the Week

2019-08-12 Thread Adrien Monteleone
John, Thanks for the insights. How does first day of the week affect reports in GnuCash? The only report I can think of that might be an issue is the Expenses/Income vs. Day of the week, but each day is reported separately, though Sunday is listed first in the key, it is a pie chart. All other

Re: [GNC] First Day of the Week

2019-08-12 Thread John Morris
Hi Adrien, Thank you for your interest. The first day of the week is, of course, a personal preference. However, because it is set to Monday everywhere else in my life, it would be more convenient if GnuCash were set similarly. Yes, I am aware of System Preferences > Language & Region; that

Re: [GNC] First Day of the Week

2019-08-12 Thread Adrien Monteleone
System Preferences > Language & Region is where you can set first day of the week. (I’m on Mojave) But I see it has no effect on the calendar displayed in the Scheduled Transaction editor. (not sure where else this would matter) I’d have to ask (because I have Sunday as my first day and I don’t

[GNC] First Day of the Week

2019-08-12 Thread John Morris
Hi All, I've been using GnuCash for several years now, tolerating the bugs and idiosyncrasies on the hope that it would improve with time. That hope has been borne out to some degree, but I'm still waiting on many issues. It's been a while since I bothered to install a new version, so I am aga