Fix time processing.