Properly format date params.
Merge pull request #1 from pifantastic/fix-date-params

Properly format date params.