Use only dates in the ISO 8601 format supported by ES5. Fixes #737.
Merge pull request #15 from hbj/feature/tests_fix

Fixes #737 (makes tests pass).