Fixed up the month manipulation code.

Signed-off-by: Nicholas Campbell <ncampbell@Nicholass-MacBook-Pro.local>