After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334335 - add functions to pricedb
add functions to pricedb
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Engine
git-master
Other All
: Normal enhancement
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2006-03-12 18:26 UTC by Andrew Sackville-West
Modified: 2018-06-29 20:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fulfil this feature request (11.07 KB, patch)
2006-03-12 18:27 UTC, Andrew Sackville-West
none Details | Review

Description Andrew Sackville-West 2006-03-12 18:26:36 UTC
add the ability to lookup the latest price before a specific date. Currently
there are only funcitons to look up the absolute latest price, or the price
nearest to specified date. the attached patch add a lookup for the latest price
UP TO the specified date. includes gnc_pricedb_lookup_latest_before,
gnc_pricedb_lookup_latest_before_any_currency, a helper function
Lookup_latest_before, and gnc_pricedb_convert_latest_before (I think that name
is right, but its thre regardless).

A
Comment 1 Andrew Sackville-West 2006-03-12 18:27:52 UTC
Created attachment 61135 [details] [review]
patch to fulfil this feature request
Comment 2 David Hampton 2006-03-12 22:19:00 UTC
Applied as r13611.
Comment 3 John Ralls 2018-06-29 20:59:27 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=334335. Please update any external references or bookmarks.