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

fix undefined timezone error #214

Merged
merged 1 commit into from Jan 24, 2023

Conversation

bdwain
Copy link
Contributor

@bdwain bdwain commented Dec 8, 2022

No description provided.

@@ -17,7 +17,7 @@ export default function tzParseTimezone(timezoneString, date, isUtcDate) {
var absoluteOffset

// Empty string
if (timezoneString === '') {
if (!timezoneString) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

undefined returns true below for isValidTimezoneIANAString

@marnusw marnusw merged commit 46cbf8e into marnusw:master Jan 24, 2023
@bdwain bdwain deleted the fix-undefined-timezone-issue branch January 31, 2023 23:23
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

2 participants