gnucash/libgnucash
Christopher Lam 65bfeaf5de [date-utilities] bugfix: date-intervals produces good month deltas
Instead of recursing the date, we calculate the next month using an
index-based multiplier, and apply modulo/remainder as appropriate to
determine the next month/year.

Then we attempt to create new mktime, and if the resulting mktime's
month is not as expected, reduce the mday by 1 until resulting month
is correct. This fixes monthly intervals for end-of-month days.

Test via monthly/quarterly deltas, and also includes leapyear
calculation.
2019-02-13 22:23:44 +08:00
..
app-utils [date-utilities] bugfix: date-intervals produces good month deltas 2019-02-13 22:23:44 +08:00
backend Make test-backend-dbi-basic build and run with libdbi 8. 2019-01-28 19:23:35 -05:00
core-utils Log a warning in gnc_get_locale() instead of writing to stderr. 2019-02-12 12:58:42 -08:00
doc Bug 796820 - References to 'Gnome Bugzilla' should be changed to 'GnuCash Bugzilla' 2018-09-28 15:00:43 +02:00
engine Bug 797067 - Date displayed incorrectly in register take two. 2019-02-08 11:56:32 -08:00
gnc-module Lowercase cmake commands 2018-05-03 23:18:15 +02:00
quotes Revert the part of 923b01e2 which reverses currency quotes less than 1. 2019-01-28 19:25:34 -05:00
scm Don't use GNC-DENOM-SIGFIGS when converting prices 2019-01-28 19:25:50 -05:00
tax Updated to include codes for version 42, although new codes not implemented yet because data not reliably available 2019-01-17 18:19:26 -08:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00