cullophid / date-fp

Functional programming date manipulation library
121 stars 17 forks source link

fix sub cross year issue #63

Closed lulalachen closed 6 years ago

lulalachen commented 6 years ago

It will throw Invalid Date when subtracting across years, which cause by some % modulus operator doesn't work as expected in negative numbers.

cullophid commented 6 years ago

Thanks good catch

lulalachen commented 6 years ago

Thanks for merging :)

lulalachen commented 5 years ago

@cullophid Is it possible to publish a patch release for this?