AUDIT: r17454 - gnucash/trunk/src/engine - 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.

Charles Day cedayiv at cvs.gnucash.org
Mon Aug 4 12:41:16 EDT 2008


Author: cedayiv
Date: 2008-08-04 12:41:15 -0400 (Mon, 04 Aug 2008)
New Revision: 17454
Trac: http://svn.gnucash.org/trac/changeset/17454

Modified:
   gnucash/trunk/src/engine/gnc-pricedb.c
Log:
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.
BP




More information about the gnucash-patches mailing list