diff --git a/src/validation/ValidationTypes.ts b/src/validation/ValidationTypes.ts index 9fe754e806..dc2fa1ab34 100644 --- a/src/validation/ValidationTypes.ts +++ b/src/validation/ValidationTypes.ts @@ -261,7 +261,9 @@ export class ValidationTypes { return eachPrefix + "$property must be shorter than or equal to $constraint1 characters"; case this.MATCHES: return eachPrefix + "$property must match $constraint1 regular expression"; - + case this.IS_MILITARY_TIME: + return eachPrefix + "$property must be a valid representation of military time in the format HH:MM"; + /* array checkers */ case this.ARRAY_CONTAINS: return eachPrefix + "$property must contain $constraint1 values";