After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566175 - Year assumptions when entering a date without a year
Year assumptions when entering a date without a year
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Register
2.2.x
Other All
: Normal enhancement
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on:
Blocks:
 
 
Reported: 2008-12-31 22:45 UTC by Jeffrey Hill
Modified: 2018-06-29 22:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeffrey Hill 2008-12-31 22:45:37 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:
Comment 1 Geert Janssens 2011-01-21 14:11:42 UTC
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.
Comment 2 John Ralls 2018-06-29 22:15:08 UTC
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.