Fix leap-year computation in the 'last_mday' computation.

* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10454 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/cashutil
Derek Atkins 22 years ago
parent d84d59488e
commit 321d3e2473

@ -1,3 +1,9 @@
2005-02-06 Derek Atkins <derek@ihtfp.com>
* src/engine/date.c: Fix the last-day-of-month computation for
leap years. Need to use modulo, not divide. (Patch by
Neil Williams.
2005-02-06 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c: Fix HBCI date range

Loading…
Cancel
Save