We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d3329 commit 204b7dfCopy full SHA for 204b7df
src/validation/ValidationTypes.ts
@@ -261,7 +261,9 @@ export class ValidationTypes {
261
return eachPrefix + "$property must be shorter than or equal to $constraint1 characters";
262
case this.MATCHES:
263
return eachPrefix + "$property must match $constraint1 regular expression";
264
-
+ case this.IS_MILITARY_TIME:
265
+ return eachPrefix + "$property must be a valid representation of military time in the format HH:MM";
266
+
267
/* array checkers */
268
case this.ARRAY_CONTAINS:
269
return eachPrefix + "$property must contain $constraint1 values";
0 commit comments