GNOME Bugzilla – Bug 566175
Year assumptions when entering a date without a year
Last modified: 2018-06-29 22:15:08 UTC
When entering a date without a year, it assumes that the year you want is the current year. While most of the time this makes sense, around the end/beginning of the year this behavior becomes annoying when entering transactions for the neighboring year. For instance, today (12/31/2008), I entered a transaction that I will complete on 1/2/2009. But since I only entered 1/2, it assumed I meant 1/2/2008 (as a result, I had to scroll all the way up to January 2008 to correct it). I think it would be much less likely that somebody would be entering a transaction from 1/2/2008 that late in the year. Likewise, assume it is 1/5/2009 and I forgot to enter a transaction on 12/29/2008; when I go to enter it as 12/29, it will think I mean 12/29/2009. I think it would be feasible to assume the closer instance of the date, or at least assume the closer date if it falls within a certain time from the current date (e.g. within 3 months) Other information:
Thank you for your report. Peter Selinger proposed a patch for this which I committed with minor modifications in r20132. As of that revision you will have a new option in the Date/Time preferences panel that can configure a sliding 12 month window around the current date to determine what year to use for a date entered without a year.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=566175. Please update any external references or bookmarks.