[libalkimia] [Bug 489484] Online quote for currencies from yahoo.com does not provide a date/rate pair for the current day
Ralf Habacker
bugzilla_noreply at kde.org
Mon Jul 1 12:53:57 BST 2024
https://bugs.kde.org/show_bug.cgi?id=489484
--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Thomas Baumgart from comment #1)
> Seems that the default for the start date is "today" and end date is also
> "today". Since no entry for this date is found in the returned set the
> result is OK. Would it make sense to change start date to the last work day
> if today is a holiday? Or set the start date to today - 1 week (which might
> be easier to implement)
With alkimia's current API, something like this would have to be implemented in
every application that uses alkimia. Wouldn't it be better to solve this in
alkimia in general ?
I imagine this with a setter/getter for the class AlkOnlineQuote, with which
you can enable an option: "if you have not found an entry in the interval,
supply the last entry". Applications can then decide whether they want this or
not.
What do you think ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list