Fix varied problems with TimeInput