Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Date filter's N and w formatting characters where off by one #59
The formatting character 'w' started with sunday == -1 and N started with sunday == 0. The test case was itself testing for the wrong values. The simple fix attached.
EDIT: Hmm, I didn't realize that new commits will be added to the pull request automatically. Now, this pull request also has my changes to enable date string customization and a few Spanish language test cases.
I really must learn to use git better!