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

john jralls at ceridwen.us
Mon May 30 23:41:37 EDT 2022


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 <adrien.monteleone at lusfiber.net> wrote:
> 
> 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,
> Adrien
> 
> On 5/30/22 5:54 PM, Derek Atkins wrote:
>> 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, can you take a look at the XML for the
>> invoice and see what date/time is actually presented?
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.



More information about the gnucash-user mailing list