Fixes parsing of time strings with a final Z