more type consistency in date utils
Merge pull request #210 from dimagi/date-types

more type consistency in date utils