mirror of https://github.com/Gnucash/gnucash
This change will fix 'num-of-weeks-since-1/jan/1970' which formerly used quotient to remove the fractional part of the division. For negative values of num-of-weeks, the number is truncated in the wrong direction (i.e. towards 0). This change uses floor instead to ensure the num-of-weeks found is the nearest integer LESS than the fractional number.pull/259/merge
parent
335165104b
commit
33a7bb73db
Loading…
Reference in new issue