rescript-date
rescript-date copied to clipboard
reversed args and some tests
Hey there,
While writing wrappers for ReDate methods for use in my hybrid TS/ReScript codebase I noticed that both setSeconds and subMonths had reversed args positions from the rest of their respective methods. I went ahead and swapped them to be inline and fixed the associated tests for subMonths while adding very simple tests for the rest of the setX methods.