r16302 - gnucash/branches/register-rewrite/src/gnome-utils - Check if seconds returned by xaccTransGetDatePostedTS() are greater than zero in CellDataFunc (cdf) for COL_DATE. If
Derek Atkins
warlord at MIT.EDU
Fri Jul 13 13:22:06 EDT 2007
Jeff,
Jeff Green <jeff at cvs.gnucash.org> writes:
> Check if seconds returned by xaccTransGetDatePostedTS() are greater than zero in CellDataFunc (cdf) for COL_DATE. If
> seconds are zero assume new transaction and set seconds to current time to display current date for new transactions.
Actually, shouldn't a new transaction take the date of the previously
entered transaction? The only time you should need to choose the
start date is when the register first opens.
-derek
--
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-devel
mailing list