Fixed time parsing bug