Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MinDate and MaxDate Validators for Date Validation #156

Closed
SebConejo opened this issue Sep 23, 2024 · 2 comments
Closed

Add MinDate and MaxDate Validators for Date Validation #156

SebConejo opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
api doc API documentation (OpenAPI) issues api API issues core Core issues docs Improvements or additions to documentation stale

Comments

@SebConejo
Copy link
Contributor

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 SebConejo added docs Improvements or additions to documentation api API issues api doc API documentation (OpenAPI) issues core Core issues labels Sep 23, 2024
Copy link
Contributor

github-actions bot commented Jan 2, 2025

This issue is stale because it has been open for 100 days with no activity.

@github-actions github-actions bot added the stale label Jan 2, 2025
@brunobuddy
Copy link
Contributor

Closing as not required by anyone yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api doc API documentation (OpenAPI) issues api API issues core Core issues docs Improvements or additions to documentation stale
Projects
None yet
Development

No branches or pull requests

2 participants