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

Validate time zones #473

Merged
merged 1 commit into from
Apr 1, 2022
Merged

Conversation

drastawi
Copy link
Contributor

@drastawi drastawi commented Mar 21, 2022

We can leverage go's time package to validate time zones are valid.

On an invalid time zone the provider will fail with the message:

Failed to load location: unknown time zone America/nyc

Copy link
Contributor

@stmcallister stmcallister left a comment

Choose a reason for hiding this comment

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

Cool! Thanks @drastawi!! 👍

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.

2 participants