Fix date/time validation