Fix date time env.