fixed validation for datetime without T