fponticelli / thx.core

Super-charged standard library for Haxe.
http://thx-lib.org
MIT License
124 stars 43 forks source link

Fix wrong sign in DateTime#subtractDate #277

Closed xunto closed 2 years ago

xunto commented 2 years ago

"+" is used instead of "-" in date subtraction, leading to wrong answer

xunto commented 2 years ago

Wasn't able to run tests (weird errors, probably problem on my side). I'll do it later.

If somebody would do it for me, it would be great. Tests should be good enough.

Otherwise wait until I do it, before merging.

fponticelli commented 2 years ago

Thank you! I will merge as I suspect the tests are broken because of the many changes that happened to the Haxe language since the latest release of thx