Add millisecond support to time parsing