Fix ShadowDateFormat days and add unit tests to verify.

The formats now use a lower-case `d` (day-of-month) rather than a capital `D` (day-of-year).
Merge pull request #864 from paulblessing/fix-date-formats

Fix ShadowDateFormat days