Kata02 iso8601 date parser

Inelegant solution in Python.