Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-06-02 Thread Adrien Monteleone
Thanks, done: https://bugs.gnucash.org/show_bug.cgi?id=798547 Regards, Adrien On 6/2/22 11:48 AM, Geert Janssens via gnucash-user wrote: Op donderdag 2 juni 2022 18:22:40 CEST schreef Adrien Monteleone: Indeed, testing both 2020 and 2022 November dates result in a 19day due date rather than 20

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-06-02 Thread Geert Janssens via gnucash-user
Op donderdag 2 juni 2022 18:22:40 CEST schreef Adrien Monteleone: > Indeed, testing both 2020 and 2022 November dates result in a 19day due > date rather than 20. > > I also tested the March dates for moving from standard to daylight time > and those worked correctly. (they didn't add a day) > >

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-06-02 Thread Adrien Monteleone
Indeed, testing both 2020 and 2022 November dates result in a 19day due date rather than 20. I also tested the March dates for moving from standard to daylight time and those worked correctly. (they didn't add a day) Should I go ahead and file a bug? Regards, Adrien On 6/2/22 1:14 AM, Geert

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-06-01 Thread Geert Janssens
A quick test would be to post an invoice on such a date in other years, for example on the day summer time switched to standard time in 2020 or will change in 2022. Regards, Geert Adrien Monteleone schreef op 1 juni 2022 21:49:36 CEST: >It changed on the posting day, 11/7/21, but that occurre

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-06-01 Thread Adrien Monteleone
It changed on the posting day, 11/7/21, but that occurred in the wee morning and the posting time is 10:59. And I didn't enter the bill in GC until just before posting the thread. Regards, Adrien On 6/1/22 2:21 PM, Geert Janssens wrote: Was there a switch from summertime to standard time betw

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-06-01 Thread Geert Janssens
Was there a switch from summertime to standard time between those two dates? We have had calculation errors related to such hour changes in the past. Regards, Geert Adrien Monteleone schreef op 31 mei 2022 21:21:09 CEST: Scratch that. I inadvertently put 11/7/22 as the posting date, so i

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Adrien Monteleone
Scratch that. I inadvertently put 11/7/22 as the posting date, so it correctly calculated the due date as 11/27/22. But this was a 2021 bill. When I caught the mistake, unposted and reposted for 11/7/21, it still calculates the due date as 19days instead of 20. Gremlins abound. Maybe ther

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Adrien Monteleone
Interestingly, I tried unposting and reposting several times yesterday to no avail. I normally do not shut down GC when done, but I had a few crashes yesterday, so I started fresh this morning. I just tried unposting and reposting, and now it works fine. I'll leave it up to the gremlins and

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Adrien Monteleone
I checked. I've posted every day of the week, and Net20 can thus be on any day of the week, and indeed, it is, for every invoice except this one. Regards, Adrien On 5/31/22 12:23 PM, Adrien Monteleone wrote: I'll check that too, but really, it shouldn't matter should it? Net20 is Net20. If a c

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Adrien Monteleone
I'll check that too, but really, it shouldn't matter should it? Net20 is Net20. If a company independently wants to give leeway for weekends or holidays, I don't see why GnuCash should assume it. Regards, Adrien On 5/31/22 9:42 AM, Derek Atkins wrote: Maybe you usually don't post on Sunday or

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Derek Atkins
Maybe you usually don't post on Sunday or Monday? -d On Tue, May 31, 2022 10:35 am, Adrien Monteleone wrote: > Interesting idea. I'll check to see if any others fall on a weekend and > got changed, but strange I haven't seen it before after several years of > use. > > Regards, > Adrien > > On 5/31

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Adrien Monteleone
Interesting idea. I'll check to see if any others fall on a weekend and got changed, but strange I haven't seen it before after several years of use. Regards, Adrien On 5/31/22 4:18 AM, Fred Bone wrote: An override for days falling at the weekend? (2021-11-27 was a Saturday). _

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-31 Thread Fred Bone
On 30 May 2022 at 17:35, Adrien Monteleone said: > I'm catching up on some paperwork and entering old vendor bills. I've > never seen this issue before, and can't seem to figure out why this one > bill is not correctly calculating the due date. > > Screen shot is attached. (hopefully it goes thro

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-30 Thread john
10:59:00 the canonical "neutral" time, chosen so that the date doesn't change regardless (almost) of time zone. Regards, John Ralls > On May 30, 2022, at 4:10 PM, Adrien Monteleone > wrote: > > I'm using SQLite, but the time stamp for posting is: > > 2021-11-07 10:59:00 > > Which seems to

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-30 Thread Adrien Monteleone
I'm using SQLite, but the time stamp for posting is: 2021-11-07 10:59:00 Which seems to be a regularly used stamp, for this vendor at least. A subsequent duplicated bill (off of this one) for December correctly calculated Net20 from 12/7 as 12/27. (also using the 10:59:00 stamp) Regards, Adr

Re: [GNC] Strange incorrect due date calculated on a duplicated bill

2022-05-30 Thread Derek Atkins
Hi, First, yes, the attachment came through. Second, you posted on the 7th and the due date is the 26th. My initial guess, as it's a Net20, is that there is a TimeOfDay issue at hand here, where the addition of 20 days is such that it thinks it's before the 27th. Did you actually post it? If so, c