Workaround for DateTime::ISO8601 deficiency.

Added logic to detect and properly handle ISO8601 date strings that contain fractions of a second.