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 support for time zone validation #641

Merged
merged 2 commits into from Sep 27, 2020
Merged

Conversation

math-nao
Copy link
Contributor

Enhances #640 .

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

Change Details:

  • Add new validator tag called "timeZone" to validate that a value is a valid time zone name
  • Add test for this new validator
  • Update documentation for this new validator

@go-playground/admins

Copy link
Contributor

@elias19r elias19r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

Looking at baked-in tag names, it seems a lowercase timezone is preferable over timeZone

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

Successfully merging this pull request may close these issues.

None yet

3 participants