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

Suggested Validator: DateTimeRange #335

Open
elbenfreund opened this issue Mar 15, 2018 · 0 comments
Open

Suggested Validator: DateTimeRange #335

elbenfreund opened this issue Mar 15, 2018 · 0 comments

Comments

@elbenfreund
Copy link

elbenfreund commented Mar 15, 2018

Hello Alec,

first of all: thank you for your wonderfull library! 👍

As the maintainer of projecthamster, handling and validating all kinds of time/date/dateime related data is somewhat of a big thing for me. One rather common task is to handle not only individual datetimes but ranges. That is, to make sure that some data

  • is actually a range
  • and that the range passes basic sanity checks: start < end

Is this something you would be interested in as a PR (same with regards to a validators.Time funciton similar to validators.Date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant