mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
change in date handling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@795 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e7452017da
commit
ac894591b3
@ -202,13 +202,13 @@ xaccLoadRegEntry (BasicRegister *reg, Split *split)
|
||||
Transaction *trans;
|
||||
char *accname;
|
||||
char buff[2];
|
||||
Date *d;
|
||||
time_t secs;
|
||||
|
||||
if (!split) return;
|
||||
trans = xaccSplitGetParent (split);
|
||||
|
||||
d = xaccTransGetDate (trans);
|
||||
xaccSetDateCellValue (reg->dateCell, d->day, d->month, d->year);
|
||||
secs = xaccTransGetDate (trans);
|
||||
xaccSetDateCellValueSecs (reg->dateCell, secs);
|
||||
|
||||
xaccSetBasicCellValue (reg->numCell, xaccTransGetNum (trans));
|
||||
xaccSetComboCellValue (reg->actionCell, xaccSplitGetAction (split));
|
||||
|
Loading…
Reference in New Issue
Block a user