We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ef8ff0 commit 064d766Copy full SHA for 064d766
src/decorator/string/IsDateString.ts
@@ -24,7 +24,7 @@ export function IsDateString(
24
name: IS_DATE_STRING,
25
constraints: [options],
26
validator: {
27
- validate: (value, args): boolean => isDateString(value),
+ validate: (value): boolean => isDateString(value, options),
28
defaultMessage: buildMessage(
29
eachPrefix => eachPrefix + '$property must be a valid ISO 8601 date string',
30
validationOptions
0 commit comments