[GNC] Entering a 2-digit year generates the wrong date

John Ralls jralls at ceridwen.us
Fri Jul 27 11:01:24 EDT 2018


Delimiters are required for date entry, so the second and fourth versions won’t work. I had no trouble with the first and third on the Vendor bill entry form.

Regards,
John Ralls


> On Jul 27, 2018, at 7:50 AM, dlbonline <dlbonline at cox.net> wrote:
> 
> I am localized to US settings, and the date strings I have tried are:
> 05/21/2018
> 05212018
> 05/21/18
> 052118
> 
> The first one  gets the closest.  This appears to be a problem only on the
> vendor bill entry form, and no other forms that I have tried (which is just
> a few).
> 
> David Briggs
> dlbonline at cox.net
> 918 625 9170
> 
> 
> -----Original Message-----
> From: gnucash-user
> [mailto:gnucash-user-bounces+dlbonline=cox.net at gnucash.org] On Behalf Of
> John Ralls
> Sent: Friday, July 27, 2018 9:06 AM
> To: Chris Velevitch <chris.velevitch at gmail.com>
> Cc: gnucash-user at lists.gnucash.org
> Subject: Re: [GNC] Entering a 2-digit year generates the wrong date
> 
> 
> 
>> On Jul 26, 2018, at 9:57 PM, Chris Velevitch <chris.velevitch at gmail.com>
> wrote:
>> 
>> When I enter a new transaction with a 2-digit year, the resultant date 
>> becames1899. For example, I enter 10 for the year and I get 1899 when 
>> I expect to get 2010. This worked in 2.x.
> 
> I just tested on 10.14 beta and got the expected 2010. What are your locale
> settings and what string did you enter for the date?
> 
> Regards,
> John Ralls
> _______________________________________________
> 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