Formating Date objects as ISO8601

Closes #553.