Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/decorator/date/MaxDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function maxDate(date: unknown, maxDate: Date | (() => Date)): boolean {
}

/**
* Checks if the value is a date that's after the specified date.
* Checks if the value is a date that's before the specified date.
*/
export function MaxDate(date: Date | (() => Date), validationOptions?: ValidationOptions): PropertyDecorator {
return ValidateBy(
Expand Down