fix zero index for months() and weekdays()
Merge pull request #1171 from icambron/month-zero

fix zero index for months() and weekdays()