Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix bug where diff returns -0 in month-related diffs #3059
I wish there were simpler code for this, but as far as I am aware the only way to get rid of the negative zero is to explicitly check for it and replace it with zero.
Edit: Tim made my code good. Lesson learned.