Fixed a date formatting bug.

Day parsed was the day in year, not day in month which caused dates like
Feb, 47, 2013.