Fix date object creation on Safari and FF

They both start counting months at 0, not 1 like the other values.
Merge pull request #20 from zendesk/OFFAPPS-268

[OFFAPPS-268] Fix date object creation on Safari and FF