fix ISO8601 date parsing
refactor time parsing