Fix warning not appearing correctly when entering a time