manifest icon indicating copy to clipboard operation
manifest copied to clipboard

Add MinDate and MaxDate Validators for Date Validation

Open SebConejo opened this issue 5 months ago • 0 comments

Description:

We need to add two validators, MinDate and MaxDate, to validate date and time properties. These should support both date (YYYY-MM-DD) and timestamp formats, which include the time in `YYYY-MM-DDTHH:mm:ssZ format.

Examples:

MinDate: '2024-01-01T00:00:00Z'
MaxDate: '2024-01-01'

Tasks:

  • MinDate: Validates that a date is no earlier than a specified minimum date.
  • MaxDate: Validates that a date is no later than a specified maximum date.
  • Update the documentation with usage examples for both validators.

SebConejo avatar Sep 23 '24 14:09 SebConejo