Add support for ISO datetime

ISO standards support two types of format and libraries tend to pick one or the other depending on what they like. This PR adds support to parse ISO format so that both formats are supported.

@drdee @kengoodhope