warlord at MIT.EDU
Thu Apr 1 19:27:05 EST 2004
"Michael D. Crawford" <crawford at goingware.com> writes:
> I'm using Gnucash 1.8.8 on PowerPC debian testing.
> It seems that a date entered as "4/1/04" is considered different from
> "4/1/2004". The first is displayed just as I wrote it, but the second
> is printed in the window as "4/1/20".
> What is really odd is that when I started up Gnucash today, and opened
> a window to put some transactions in, there was an empty transaction
> waiting to receive data that had the date "4/1/04" - so Gnucash knew
> what day it was, but after I entered it, it was sorted in the table to
> before all of my transactions where I had entered "2004" as the date.
> What's the right way to enter dates in Gnucash, so it really has the
> right date? My transaction dates aren't consistent right now. I can
> go fix them so they're all the same way, but I need to know what the
> right format is.
It depends on your locale. Whatever is printed in the register
is the format you need to use. Based on what you've said, the locale
requires MM/DD/YY. When you enter in 4/1/2004 it gets truncated
by the locale to 4/1/20 (since it's looking for a 2-digit year).
If you change your locale it will require a different type of entry.
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user