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 understand 
the utility of changing it), how does not being able to change it impact your 
use of GnuCash? What is more difficult by the day being set to Sunday? I really 
mean this as a curiosity. Is it merely a matter of you’ve always seen calendars 
start on Monday and it looks odd and sometimes hard to comprehend at a glance?

What parts of the app other than the Scheduled Transaction editor is this an 
issue for?

Please note, the developer pool is small, their time is not infinite, and they 
are all volunteers. (and I’d guess they all have day jobs) They have a roadmap 
for prioritizing their time. If something is an annoyance but the app is still 
usable, it is likely to be pushed to the back burner unless someone new decides 
to jump in and help address it.

Regards,
Adrien

> On Aug 12, 2019, at 2:40 PM, John Morris  wrote:
> 
> 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 again hopeful 
> when I finally start using 3.6.
> 
>  However, I have begun testing and found that at least one of my most-desired 
> fixes is not in place. Years ago, I wrote about my inability to make GnuCash 
> start the week on Monday instead of Sunday. Other people reported not 
> problems in this regard, but we were not able to find any setting that would 
> make it work on my computer (macOS 10.10 at the time, soon to be 10.14). My 
> system region is set to United States and the system's first day of the week 
> is set to Monday. However, when I open GnuCash (opening an existing .gnucash 
> file or creating a new file), I always get Sunday as the first day of the 
> week.
> 
>  Since I am testing (on macOS 10.11 for now), I tried opening an existing 
> file and creating a new file with the system region set to France (which 
> automatically gives Monday as the first day of the week). I even tried 
> choosing French Franc as the currency when setting up a new set of books. No 
> luck. I still get Sunday as the first day of the week. How do I get GnuCash 
> to use Monday as the first day of the week?
> 
> 
>  For what it's worth, I was also disappointed to see that GnuCash 3.6 still 
> suffers from the focus problems I have been suffering through in 2.6. I will 
> be very happy when the backend is fully rebuilt and these bugs can get the 
> attention they deserve.
> 
> Best,
> John

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 is where I 
have set the first day of the week for the rest of my computer. Thank you for 
pointing that out.

  The main issue that makes life difficult with GnuCash using Sunday as the 
first day of the week is in our business. We have a small editing business, but 
we don't work conventional hours. Basically, we work whenever we can fit it in. 
That means we might be working at 11p on a Sunday or 6a on a Tuesday. However, 
we still find it convenient to break our time up into weeks. Reports from our 
time-tracking software help us know if we are doing enough income work to make 
our goals. Reports from our accounting software (GnuCash) help us know if our 
income is matching expectations and helping us reach our goals. However, it is 
just a little more difficult because the time tracking software is set to use 
Monday as the first day of the week, but GnuCash refuses to accept that 
setting. 

  A second place this problem makes trouble for me is entering transactions. 
Sometimes I type dates and sometimes I select them from the drop-down menu. 
That menu puts Sunday on the far left of the block instead of the far right 
where I expect it. Thus, I sometimes click the wrong date because I forget that 
GnuCash does this. Of course, this is just one example, but I think it gives 
the flavor.

  Naturally we could change our whole life around to use Sunday as the first 
day of the week, but we don't want to do that. Computers should adjust to the 
users' lifestyle, not the other way around. We can also just make do, accepting 
that the accounting week starts on Sunday and the time-keeping week starts on 
Monday. That is how we have functioned since we switched to GnuCash about five 
years ago.

  I understand that the developer pool is small. This is why I have not bother 
reporting the many bugs I work around every day. When I first started using 
GnuCash, I reported what I saw, but it quickly became clear that the developers 
feel they have bigger fish to fry. Given that I have no time to offer to this 
effort, I stopped wasting my time. I would love to help with the development. I 
even have some of the skill required and could probably get up to speed fairly 
quickly, but my to-do list is way too long for me to take on any new projects. 
Frankly, if I were going to get back into development, I would seriously 
consider starting from scratch rather than trying to fix the mess that is 
GnuCash.

Best,
John

> On Aug 12, 2019, at 4:20 PM, Adrien Monteleone 
>  wrote:
> 
> 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 understand 
> the utility of changing it), how does not being able to change it impact your 
> use of GnuCash? What is more difficult by the day being set to Sunday? I 
> really mean this as a curiosity. Is it merely a matter of you’ve always seen 
> calendars start on Monday and it looks odd and sometimes hard to comprehend 
> at a glance?
> 
> What parts of the app other than the Scheduled Transaction editor is this an 
> issue for?
> 
> Please note, the developer pool is small, their time is not infinite, and 
> they are all volunteers. (and I’d guess they all have day jobs) They have a 
> roadmap for prioritizing their time. If something is an annoyance but the app 
> is still usable, it is likely to be pushed to the back burner unless someone 
> new decides to jump in and help address it.
> 
> Regards,
> Adrien
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 date selections I can find are based on month or 
longer, or use specific dates. (do some reports give weekly subtotals for 
example? I haven’t seen or used that yet)

I didn’t think about the date picker as I always enter my dates manually, but 
certainly, I can see how that could be annoying.

Certainly, the software should be able to match your life. You shouldn’t have 
to change to work around a bug.

And please report any issues you find. While previous reports may not have 
received attention (yet) that does not mean some other issue won’t. It might be 
that someone else with developer skills and time might jump in and fix one or 
two. One issue may shed light on others. A discussion may ensue on how to 
address the issue for when it is actually fixed. So reporting isn’t a waste of 
time even if they don’t get fixed right away. (or even for an extended period)

I know some calendar issues were looked at in the move to 3.x. Perhaps one of 
the devs familiar with this part of the code might take a look or chime in. 
There might be a good reason why this is still an issue.


Regards,
Adrien

> On Aug 12, 2019, at 4:09 PM, John Morris  wrote:
> 
> 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 is where I 
> have set the first day of the week for the rest of my computer. Thank you for 
> pointing that out.
> 
>  The main issue that makes life difficult with GnuCash using Sunday as the 
> first day of the week is in our business. We have a small editing business, 
> but we don't work conventional hours. Basically, we work whenever we can fit 
> it in. That means we might be working at 11p on a Sunday or 6a on a Tuesday. 
> However, we still find it convenient to break our time up into weeks. Reports 
> from our time-tracking software help us know if we are doing enough income 
> work to make our goals. Reports from our accounting software (GnuCash) help 
> us know if our income is matching expectations and helping us reach our 
> goals. However, it is just a little more difficult because the time tracking 
> software is set to use Monday as the first day of the week, but GnuCash 
> refuses to accept that setting. 
> 
>  A second place this problem makes trouble for me is entering transactions. 
> Sometimes I type dates and sometimes I select them from the drop-down menu. 
> That menu puts Sunday on the far left of the block instead of the far right 
> where I expect it. Thus, I sometimes click the wrong date because I forget 
> that GnuCash does this. Of course, this is just one example, but I think it 
> gives the flavor.
> 
>  Naturally we could change our whole life around to use Sunday as the first 
> day of the week, but we don't want to do that. Computers should adjust to the 
> users' lifestyle, not the other way around. We can also just make do, 
> accepting that the accounting week starts on Sunday and the time-keeping week 
> starts on Monday. That is how we have functioned since we switched to GnuCash 
> about five years ago.
> 
>  I understand that the developer pool is small. This is why I have not bother 
> reporting the many bugs I work around every day. When I first started using 
> GnuCash, I reported what I saw, but it quickly became clear that the 
> developers feel they have bigger fish to fry. Given that I have no time to 
> offer to this effort, I stopped wasting my time. I would love to help with 
> the development. I even have some of the skill required and could probably 
> get up to speed fairly quickly, but my to-do list is way too long for me to 
> take on any new projects. Frankly, if I were going to get back into 
> development, I would seriously consider starting from scratch rather than 
> trying to fix the mess that is GnuCash.
> 
> Best,
> John

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 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 is where I 
> have set the first day of the week for the rest of my computer. Thank you for 
> pointing that out.
>
>   The main issue that makes life difficult with GnuCash using Sunday as the 
> first day of the week is in our business. We have a small editing business, 
> but we don't work conventional hours. Basically, we work whenever we can fit 
> it in. That means we might be working at 11p on a Sunday or 6a on a Tuesday. 
> However, we still find it convenient to break our time up into weeks. Reports 
> from our time-tracking software help us know if we are doing enough income 
> work to make our goals. Reports from our accounting software (GnuCash) help 
> us know if our income is matching expectations and helping us reach our 
> goals. However, it is just a little more difficult because the time tracking 
> software is set to use Monday as the first day of the week, but GnuCash 
> refuses to accept that setting.
>
>   A second place this problem makes trouble for me is entering transactions. 
> Sometimes I type dates and sometimes I select them from the drop-down menu. 
> That menu puts Sunday on the far left of the block instead of the far right 
> where I expect it. Thus, I sometimes click the wrong date because I forget 
> that GnuCash does this. Of course, this is just one example, but I think it 
> gives the flavor.
>
>   Naturally we could change our whole life around to use Sunday as the first 
> day of the week, but we don't want to do that. Computers should adjust to the 
> users' lifestyle, not the other way around. We can also just make do, 
> accepting that the accounting week starts on Sunday and the time-keeping week 
> starts on Monday. That is how we have functioned since we switched to GnuCash 
> about five years ago.
>
>   I understand that the developer pool is small. This is why I have not 
> bother reporting the many bugs I work around every day. When I first started 
> using GnuCash, I reported what I saw, but it quickly became clear that the 
> developers feel they have bigger fish to fry. Given that I have no time to 
> offer to this effort, I stopped wasting my time. I would love to help with 
> the development. I even have some of the skill required and could probably 
> get up to speed fairly quickly, but my to-do list is way too long for me to 
> take on any new projects. Frankly, if I were going to get back into 
> development, I would seriously consider starting from scratch rather than 
> trying to fix the mess that is GnuCash.
>
> Best,
> John
>
> > On Aug 12, 2019, at 4:20 PM, Adrien Monteleone 
> >  wrote:
> >
> > 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 
> > understand the utility of changing it), how does not being able to change 
> > it impact your use of GnuCash? What is more difficult by the day being set 
> > to Sunday? I really mean this as a curiosity. Is it merely a matter of 
> > you’ve always seen calendars start on Monday and it looks odd and sometimes 
> > hard to comprehend at a glance?
> >
> > What parts of the app other than the Scheduled Transaction editor is this 
> > an issue for?
> >
> > Please note, the developer pool is small, their time is not infinite, and 
> > they are all volunteers. (and I’d guess they all have day jobs) They have a 
> > roadmap for prioritizing their time. If something is an annoyance but the 
> > app is still usable, it is likely to be pushed to the back burner unless 
> > someone new decides to jump in and help address it.
> >
> > Regards,
> > Adrien
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> 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
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listi

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_weekday 2

to the LC_TIME section.

I tried on a whim copying this file with the above edit from my Ubuntu vm to 
~/Library/Application Support/GnuCash/gkt-3.0/ in my Mac filesystem but to no 
avail. (maybe it needs a /locale subdirectory? does it even look here for such 
a file?)

I also tried setting the Mac’s calendar (and GnuCash’s date) to ISO-8601 which 
allegedly uses Monday=1, still no dice.

I’m not sure how GNOME users are getting their calendars to switch to Monday=1 
unless GNOME doesn’t use GtkCalendar for that feature.

Looks like this is a GTK bug unless someone knows how to setup a custom locale 
in MacOS for it.

Regards,
Adrien

> On Aug 12, 2019, at 4:24 PM, Frank H. Ellenberger 
>  wrote:
> 
> 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
> 


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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. Also, as I mentioned 
in my first post, I have tried changing my locale to a region that defaults to 
Monday as the first day of the week. GnuCash still insists on using Sunday as 
the first day of the week. I don't see why GnuCash is any more likely to obey a 
custom locale than it is to obey one of the default locales.

  Have you tried doing this on any system? Did it work? My Windows experience 
is extremely limited and my Unix experience (other than poking around under the 
hood of MacOS X) is more than thirty years out of date. I was really hoping to 
hear from some Mac users living in regions where the default first day of the 
week is Monday. There must be some. Do they simply ignore this problem or have 
they found a way to change what seems from my end to be a hard-coded default?

Best,
John

> On Aug 12, 2019, at 6:04 PM, Kenneth Marshall  wrote:
> 
> Hi,
> 
> I think that that setting is attached to the locale definition. You need to 
> make a custom locale with the first day of the week defined to be Monday. I 
> do not have a Mac so do not have any actual experience. On a Linux system you 
> can edit a file in /usr/share/i18n/locales and then recompile the locale with 
> something like locale-gen or localdef. Use 'man locale' on your system to see 
> what you should use. Once you do that and change your locale to the new one, 
> it should just work.
> 
> Regards,
> Ken

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 
computer. Since this is a completely new test build, I think I can rule out a 
corrupted operating system. Also, other date-aware applications are correctly 
picking the first day of the week.

  I guess a real test would be to find some other application that uses GTK to 
display calendars and see if it picks the correct first day of the week on my 
system. I'm not aware of any I could try.

Best,
John

> On Aug 12, 2019, at 5:24 PM, Frank H. Ellenberger 
>  wrote:
> 
> 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

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 selections I can find are based on 
> month or longer, or use specific dates. (do some reports give weekly 
> subtotals for example? I haven’t seen or used that yet)

  The main issue for us is a report we use to keep track of our income work. It 
reports the amount billed in the current week and each of the weeks since the 
beginning of the previous month. Each of those weeks starts on GnuCash's 
default week-starting day rather than the day we would like to start on. 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 to 
get this level of granularity to start on a different day, I would like to hear 
about it.

> And please report any issues you find. While previous reports may not have 
> received attention (yet) that does not mean some other issue won’t. It might 
> be that someone else with developer skills and time might jump in and fix one 
> or two. One issue may shed light on others. A discussion may ensue on how to 
> address the issue for when it is actually fixed. So reporting isn’t a waste 
> of time even if they don’t get fixed right away. (or even for an extended 
> period)

  I'm sorry, but (as I said) I have a lot on my plate. Spending the time to 
write up clear bug reports that probably won't be looked at for years and 
certainly won't be addressed any time soon does not seem like a good investment 
at this time.

Best,
John

> On Aug 12, 2019, at 5:22 PM, Adrien Monteleone 
>  wrote:
> 
> 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 date selections I can find are based on 
> month or longer, or use specific dates. (do some reports give weekly 
> subtotals for example? I haven’t seen or used that yet)
> 
> I didn’t think about the date picker as I always enter my dates manually, but 
> certainly, I can see how that could be annoying.
> 
> Certainly, the software should be able to match your life. You shouldn’t have 
> to change to work around a bug.
> 
> And please report any issues you find. While previous reports may not have 
> received attention (yet) that does not mean some other issue won’t. It might 
> be that someone else with developer skills and time might jump in and fix one 
> or two. One issue may shed light on others. A discussion may ensue on how to 
> address the issue for when it is actually fixed. So reporting isn’t a waste 
> of time even if they don’t get fixed right away. (or even for an extended 
> period)
> 
> I know some calendar issues were looked at in the move to 3.x. Perhaps one of 
> the devs familiar with this part of the code might take a look or chime in. 
> There might be a good reason why this is still an issue.
> 
> 
> Regards,
> Adrien
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 to get this level of granularity to start on a
> different day, I would like to hear about it.
>

I confirm the transaction report weekly grouping doesn't consider locale
setting at all.


>
>   I'm sorry, but (as I said) I have a lot on my plate. Spending the time
> to write up clear bug reports that probably won't be looked at for years
> and certainly won't be addressed any time soon does not seem like a good
> investment at this time.
>

Conversely, user issues which are not logged in Bugzilla are usually
ignored. Feel free to file a bug about above.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 to that report you are talking about, I'm
certainly happy to check there...

best regards



Am 13.08.19 um 05:01 schrieb 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. Also, as I mentioned 
> in my first post, I have tried changing my locale to a region that defaults 
> to Monday as the first day of the week. GnuCash still insists on using Sunday 
> as the first day of the week. I don't see why GnuCash is any more likely to 
> obey a custom locale than it is to obey one of the default locales.
>
>   Have you tried doing this on any system? Did it work? My Windows experience 
> is extremely limited and my Unix experience (other than poking around under 
> the hood of MacOS X) is more than thirty years out of date. I was really 
> hoping to hear from some Mac users living in regions where the default first 
> day of the week is Monday. There must be some. Do they simply ignore this 
> problem or have they found a way to change what seems from my end to be a 
> hard-coded default?
>
> Best,
> John
>
>> On Aug 12, 2019, at 6:04 PM, Kenneth Marshall  wrote:
>>
>> Hi,
>>
>> I think that that setting is attached to the locale definition. You need to 
>> make a custom locale with the first day of the week defined to be Monday. I 
>> do not have a Mac so do not have any actual experience. On a Linux system 
>> you can edit a file in /usr/share/i18n/locales and then recompile the locale 
>> with something like locale-gen or localdef. Use 'man locale' on your system 
>> to see what you should use. Once you do that and change your locale to the 
>> new one, it should just work.
>>
>> Regards,
>> Ken
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> 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
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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  wrote:
> 
> 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 to that report you are talking about, I'm
> certainly happy to check there...
> 


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 looking at the system 
locale, but something on MacOS is preventing that. (or it isn’t even aware of 
the locale since it might have its own default)

This is where I was headed when I tried to copy this custom locale file to my 
user profile’s gtk-3.0 folder.

However, I see now that GnuCash.app has a locale folder but the files there 
seem to be encoded somehow and not plain text. I’ll have to check the sources 
out to see what is really there. It could be those locale files are not set to 
have first_weekday be ‘2’ and they are taking precedence.

And yes, testing a different GTK app on a Mac would shed some light on if it is 
possible. Unfortunately, I don’t think my other GTK apps have date pickers or 
calendar widgets in use. Maybe someone else has such an app to try.

Regards,
Adrien

> On Aug 12, 2019, at 10:01 PM, John Morris  wrote:
> 
> 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 computer. Since this is a completely new test build, I think I 
> can rule out a corrupted operating system. Also, other date-aware 
> applications are correctly picking the first day of the week.
> 
>  I guess a real test would be to find some other application that uses GTK to 
> display calendars and see if it picks the correct first day of the week on my 
> system. I'm not aware of any I could try.
> 
> Best,
> John

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 default that will be seen and honored by GTK?

After that, the question would be “Why are there so many locale files in 
GnuCash.app but only a few are selectable from within GnuCash and then 
apparently the obvious ones don’t have first_weekday set to ‘2’?"

Regards,
Adrien

> On Aug 13, 2019, at 3:04 AM, Adrien Monteleone 
>  wrote:
> 
> 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 looking 
> at the system locale, but something on MacOS is preventing that. (or it isn’t 
> even aware of the locale since it might have its own default)
> 
> This is where I was headed when I tried to copy this custom locale file to my 
> user profile’s gtk-3.0 folder.
> 
> However, I see now that GnuCash.app has a locale folder but the files there 
> seem to be encoded somehow and not plain text. I’ll have to check the sources 
> out to see what is really there. It could be those locale files are not set 
> to have first_weekday be ‘2’ and they are taking precedence.
> 
> And yes, testing a different GTK app on a Mac would shed some light on if it 
> is possible. Unfortunately, I don’t think my other GTK apps have date pickers 
> or calendar widgets in use. Maybe someone else has such an app to try.
> 
> Regards,
> Adrien
> 
>> On Aug 12, 2019, at 10:01 PM, John Morris  wrote:
>> 
>> 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 computer. Since this is a completely new test build, I think I 
>> can rule out a corrupted operating system. Also, other date-aware 
>> applications are correctly picking the first day of the week.
>> 
>> I guess a real test would be to find some other application that uses GTK to 
>> display calendars and see if it picks the correct first day of the week on 
>> my system. I'm not aware of any I could try.
>> 
>> Best,
>> John


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 question is then, can a proper locale file be stored by the user to 
> override the default that will be seen and honored by GTK?
> 
> After that, the question would be “Why are there so many locale files in 
> GnuCash.app but only a few are selectable from within GnuCash and then 
> apparently the obvious ones don’t have first_weekday set to ‘2’?"
> 
> Regards,
> Adrien
> 
>> On Aug 13, 2019, at 3:04 AM, Adrien Monteleone 
>>  wrote:
>> 
>> 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 
>> looking at the system locale, but something on MacOS is preventing that. (or 
>> it isn’t even aware of the locale since it might have its own default)
>> 
>> This is where I was headed when I tried to copy this custom locale file to 
>> my user profile’s gtk-3.0 folder.
>> 
>> However, I see now that GnuCash.app has a locale folder but the files there 
>> seem to be encoded somehow and not plain text. I’ll have to check the 
>> sources out to see what is really there. It could be those locale files are 
>> not set to have first_weekday be ‘2’ and they are taking precedence.
>> 
>> And yes, testing a different GTK app on a Mac would shed some light on if it 
>> is possible. Unfortunately, I don’t think my other GTK apps have date 
>> pickers or calendar widgets in use. Maybe someone else has such an app to 
>> try.
>> 
>> Regards,
>> Adrien
>> 
>>> On Aug 12, 2019, at 10:01 PM, John Morris  wrote:
>>> 
>>> 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 computer. Since this is a completely new test build, I think 
>>> I can rule out a corrupted operating system. Also, other date-aware 
>>> applications are correctly picking the first day of the week.
>>> 
>>> I guess a real test would be to find some other application that uses GTK 
>>> to display calendars and see if it picks the correct first day of the week 
>>> on my system. I'm not aware of any I could try.
>>> 
>>> Best,
>>> John
> 

When I bring up the date-picker on GC 3.6 on my Mac OS X High Sierra, I get a 
calendar widget with Monday as the first day of the week.

This is my preference, but I’m not sure if I ever set it up as such, other than 
selecting UK in my locale options on the Mac.

Looking at the Mac Calendar App’s preferences, I see that that is set up as 
Monday-first.

In System Preferences —> Language & Region, I also have “First day of week: 
Monday”.

Gnucash —> Preferences doesn’t appear to have a first-day setting, but it picks 
up the correct date format from Locale.

HTH

Michael
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 setting, or indeed how to get it to use Sunday if 
that was what I wanted. I have no use for the calendar.

The date-picker in the SX Editor also has Monday as first day. I don't 
much care either way.

The date-picker in account registers is the same (presumably it's the 
same widget).

"Income vs day of week" report starts on Sunday.

=

3.6 Portable (fresh install, no attempt to  set any options):

SX Editor calendar starts on Sunday.

SX Editor date-picker starts on Monday.

Register date-picker starts on Monday.

"Income vs day of week" report starts on Sunday.

=

Happy to supply more detail if wanted.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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
>> "Weekly". If there is a way to get this level of granularity to start on a
>> different day, I would like to hear about it.
>>
>
> I confirm the transaction report weekly grouping doesn't consider locale
> setting at all.

Then please file a bug on this topic.

>>   I'm sorry, but (as I said) I have a lot on my plate. Spending the time
>> to write up clear bug reports that probably won't be looked at for years
>> and certainly won't be addressed any time soon does not seem like a good
>> investment at this time.
>>
>
> Conversely, user issues which are not logged in Bugzilla are usually
> ignored. Feel free to file a bug about above.

Indeed, if it's not in Bugzilla then most likely it will never get
fixed.  So please, if you want the developers to take their time to fix
your issue, the least you can do is take a little bit of your own time
to properly report it.

Thanks!

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 working as the first day?

Regards,
Adrien

> On Aug 13, 2019, at 3:49 AM, Michael Hendry  wrote:

> When I bring up the date-picker on GC 3.6 on my Mac OS X High Sierra, I get a 
> calendar widget with Monday as the first day of the week.
> 
> This is my preference, but I’m not sure if I ever set it up as such, other 
> than selecting UK in my locale options on the Mac.
> 
> Looking at the Mac Calendar App’s preferences, I see that that is set up as 
> Monday-first.
> 
> In System Preferences —> Language & Region, I also have “First day of week: 
> Monday”.
> 
> Gnucash —> Preferences doesn’t appear to have a first-day setting, but it 
> picks up the correct date format from Locale.
> 
> HTH
> 
> Michael


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 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 setting, or indeed how to get it to use Sunday if 
> that was what I wanted. I have no use for the calendar.
> 
> The date-picker in the SX Editor also has Monday as first day. I don't 
> much care either way.
> 
> The date-picker in account registers is the same (presumably it's the 
> same widget).
> 
> "Income vs day of week" report starts on Sunday.
> 
> =
> 
> 3.6 Portable (fresh install, no attempt to  set any options):
> 
> SX Editor calendar starts on Sunday.
> 
> SX Editor date-picker starts on Monday.
> 
> Register date-picker starts on Monday.
> 
> "Income vs day of week" report starts on Sunday.
> 
> =
> 
> Happy to supply more detail if wanted.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 corruption myself and the OP share?
> 
> Anyone out there on Mojave with Monday working as the first day?
> 
> Regards,
> Adrien
> 
>> On Aug 13, 2019, at 3:49 AM, Michael Hendry  wrote:
> 
>> When I bring up the date-picker on GC 3.6 on my Mac OS X High Sierra, I get 
>> a calendar widget with Monday as the first day of the week.
>> 
>> This is my preference, but I’m not sure if I ever set it up as such, other 
>> than selecting UK in my locale options on the Mac.
>> 
>> Looking at the Mac Calendar App’s preferences, I see that that is set up as 
>> Monday-first.
>> 
>> In System Preferences —> Language & Region, I also have “First day of week: 
>> Monday”.
>> 
>> Gnucash —> Preferences doesn’t appear to have a first-day setting, but it 
>> picks up the correct date format from Locale.
>> 
>> HTH
>> 
>> Michael

What does “locale” tell you on your Mac?

Mine says:

| => locale
LANG="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_CTYPE="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8”

Michael

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 into the LC_TIME section, I guess I’ll have 
to go digging for that file now.)

Regards,
Adrien

> On Aug 13, 2019, at 9:07 AM, Michael Hendry  wrote:
> 
> 
> What does “locale” tell you on your Mac?
> 
> Mine says:
> 
> | => locale
> LANG="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_CTYPE="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_ALL="en_GB.UTF-8”
> 
> Michael
> 
> 


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 system (macOS 
10.10, Yosemite), I simply open the Reports menu and choose Transaction Report. 
I then click the options button to bring up the report's options. In that 
dialog, I select the accounts to include on the Accounts tab, set the report's 
date range on the General tab and set the primary key to Date on the Sorting 
tab. On that last tab, I also have to change the Primary Subtotal for Date Key 
to Weekly because it defaults to Monthly. After clicking Apply, I get a report 
of all the transactions in the selected accounts sorted by date with subtotals 
following the transactions from each Saturday. For example, if I set the date 
range for 20190805 to 20190901 (four weeks, Monday to Sunday), the first 
subtotal is reported as 2019-08-04 to 2019-08-10. The second subtotal is 
2019-08-11 to 2019-08-17 (Sunday to Saturday). Does this help you replicate the 
report?

Best,
John

> On Aug 13, 2019, at 1:11 AM, Catscrash  wrote:
> 
> 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 to that report you are talking about, I'm
> certainly happy to check there...
> 
> best regards
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 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 looking 
> at the system locale, but something on MacOS is preventing that. (or it isn’t 
> even aware of the locale since it might have its own default)
> 
> This is where I was headed when I tried to copy this custom locale file to my 
> user profile’s gtk-3.0 folder.
> 
> However, I see now that GnuCash.app has a locale folder but the files there 
> seem to be encoded somehow and not plain text. I’ll have to check the sources 
> out to see what is really there. It could be those locale files are not set 
> to have first_weekday be ‘2’ and they are taking precedence.
> 
> And yes, testing a different GTK app on a Mac would shed some light on if it 
> is possible. Unfortunately, I don’t think my other GTK apps have date pickers 
> or calendar widgets in use. Maybe someone else has such an app to try.
> 
> Regards,
> Adrien
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 you in High Sierra, it should 
work correctly for me in Mojave (assuming that GnuCash runs in general on 
Mojave). I will report my results when I get around to running that test.

Best,
John

> When I bring up the date-picker on GC 3.6 on my Mac OS X High Sierra, I get a 
> calendar widget with Monday as the first day of the week.
> 
> This is my preference, but I’m not sure if I ever set it up as such, other 
> than selecting UK in my locale options on the Mac.
> 
> Looking at the Mac Calendar App’s preferences, I see that that is set up as 
> Monday-first.
> 
> In System Preferences —> Language & Region, I also have “First day of week: 
> Monday”.
> 
> Gnucash —> Preferences doesn’t appear to have a first-day setting, but it 
> picks up the correct date format from Locale.
> 
> HTH
> 
> Michael
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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,
Adrien

> On Aug 13, 2019, at 10:51 AM, John Morris  wrote:
> 
> 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 system 
> (macOS 10.10, Yosemite), I simply open the Reports menu and choose 
> Transaction Report. I then click the options button to bring up the report's 
> options. In that dialog, I select the accounts to include on the Accounts 
> tab, set the report's date range on the General tab and set the primary key 
> to Date on the Sorting tab. On that last tab, I also have to change the 
> Primary Subtotal for Date Key to Weekly because it defaults to Monthly. After 
> clicking Apply, I get a report of all the transactions in the selected 
> accounts sorted by date with subtotals following the transactions from each 
> Saturday. For example, if I set the date range for 20190805 to 20190901 (four 
> weeks, Monday to Sunday), the first subtotal is reported as 2019-08-04 to 
> 2019-08-10. The second subtotal is 2019-08-11 to 2019-08-17 (Sunday to 
> Saturday). Does this help you replicate the report?
> 
> Best,
> John

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 in time, the report was stuck on Monday instead 
> of Sunday!
> 
> Regards,
> Adrien

I had entirely forgotten that I reported the problem (as a persistent Monday to 
Sunday weekly report, despite a change of locale), after I read John Morris’s 
2015 message ( 
https://lists.gnucash.org/pipermail/gnucash-user/2015-June/060793.html ).

I didn’t follow up, partly because the default setting suited me, but also 
because I had looked into the weekly report option and found I didn’t actually 
need to use it anyway.

Regards,

Michael

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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 changing the whole 
region to United Kingdom and creating a new set of books. In both cases, both 
the date picker and the reports used Sunday as the first day of the week.

  This is a brand new, clean install of Mojave and GnuCash, so I don't think 
there can be any corruption in the user profile. GnuCash must be looking 
somewhere else to get the first day of the week.

  I forgot to check "locale" in Terminal, but I assume I would have gotten the 
same results already reported for Mojave (en_US when I set just the first day 
of the week and en_GB when I set the entire region).

Best,
John

> On Aug 13, 2019, at 10:07 AM, Michael Hendry  wrote:
> 
>> 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 corruption myself and the OP share?
>> 
>> Anyone out there on Mojave with Monday working as the first day?
>> 
>> Regards,
>> Adrien
>> 
>>> On Aug 13, 2019, at 3:49 AM, Michael Hendry  
>>> wrote:
>> 
>>> When I bring up the date-picker on GC 3.6 on my Mac OS X High Sierra, I get 
>>> a calendar widget with Monday as the first day of the week.
>>> 
>>> This is my preference, but I’m not sure if I ever set it up as such, other 
>>> than selecting UK in my locale options on the Mac.
>>> 
>>> Looking at the Mac Calendar App’s preferences, I see that that is set up as 
>>> Monday-first.
>>> 
>>> In System Preferences —> Language & Region, I also have “First day of week: 
>>> Monday”.
>>> 
>>> Gnucash —> Preferences doesn’t appear to have a first-day setting, but it 
>>> picks up the correct date format from Locale.
>>> 
>>> HTH
>>> 
>>> Michael
> 
> What does “locale” tell you on your Mac?
> 
> Mine says:
> 
> | => locale
> LANG="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_CTYPE="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_ALL="en_GB.UTF-8”
> 
> Michael
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> 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
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


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-day-do-you-consider-the-start-of-the-week/11346348

Enjoy - what it tells me is that this problem will not be solved on a
social engineering level. It may be worthwhile evidence for those
pursuing upstream packages like gtk to encourage them to be more
inclusive.

Liz
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.