r21561 - gnucash/trunk/src - Use the GDate-based date setter of GncEntry where suitable instead of the timespec one.

Christian Stimming cstim at code.gnucash.org
Fri Nov 11 16:58:22 EST 2011


Author: cstim
Date: 2011-11-11 16:58:21 -0500 (Fri, 11 Nov 2011)
New Revision: 21561
Trac: http://svn.gnucash.org/trac/changeset/21561

Modified:
   gnucash/trunk/src/business/business-gnome/dialog-invoice.c
   gnucash/trunk/src/business/business-ledger/gncEntryLedger.c
   gnucash/trunk/src/business/business-ledger/gncEntryLedgerControl.c
   gnucash/trunk/src/business/business-ledger/gncEntryLedgerLoad.c
   gnucash/trunk/src/business/business-ledger/gncEntryLedgerModel.c
   gnucash/trunk/src/business/business-ledger/gncEntryLedgerP.h
   gnucash/trunk/src/plugins/bi_import/bi_import.c
Log:
Use the GDate-based date setter of GncEntry where suitable instead of the timespec one.

This fixes the time-of-day mismatch between entering a new entry
(that was using timespecCanonicalDayTime, "noon") vs. duplicating
an invoice (that was using gnc_timet_get_today_start, "start of day").



More information about the gnucash-patches mailing list