paularmstrong/swig — pull request #59 by imbcmdth (2012-02-20 05:37:24+00:00)
Title: Date filter's N and w formatting characters where off by one

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.

NOTE: Also added a couple of test cases for teen-ordinals that were really supposed to be part of another commit but they shouldn't be a problem. (I'm still learning git...)