r17520 - gnucash/branches/2.2/src/engine - [r17454] Bug #541970: When finding a "nearest in time" price, break ties by preferring the older price.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Sep 14 17:30:55 EDT 2008
Author: andi5
Date: 2008-09-14 17:30:54 -0400 (Sun, 14 Sep 2008)
New Revision: 17520
Trac: http://svn.gnucash.org/trac/changeset/17520
Modified:
gnucash/branches/2.2/src/engine/gnc-pricedb.c
Log:
[r17454] Bug #541970: When finding a "nearest in time" price, break ties by preferring the older price.
This has the benefit of using a price that actually existed at the given time,
and better addresses the case in which both price times have been defaulted to
midnight. Previously, the newer price was preferred.
Committed by cedayiv.
More information about the gnucash-patches
mailing list