Christian Stimming <cs...@code.gnucash.org> writes:

> --- gnucash/trunk/src/gnome-utils/dialog-book-close.c 2013-06-09 21:32:06 UTC 
> (rev 23044)
> +++ gnucash/trunk/src/gnome-utils/dialog-book-close.c 2013-06-09 21:33:19 UTC 
> (rev 23045)
> @@ -102,7 +102,7 @@
>          txn->txn = xaccMallocTransaction(cacb->cbw->book);
>          xaccTransBeginEdit(txn->txn);
>          xaccTransSetDateEnteredSecs(txn->txn, gnc_time (NULL));
> -        xaccTransSetDatePostedSecs(txn->txn, cacb->cbw->close_date);
> +        xaccTransSetDatePostedSecsNormalized(txn->txn, 
> cacb->cbw->close_date);
>          xaccTransSetDescription(txn->txn, cacb->cbw->desc);
>          xaccTransSetCurrency(txn->txn, cmdty);
>          xaccTransSetIsClosingTxn(txn->txn, TRUE);

This might cause some issues, in particular with sorting, on the close
date.

-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
       warl...@mit.edu                        PGP key available
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to