fix date validator (allowing isotrings)