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

Embed fallback tzdata #415

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Embed fallback tzdata #415

merged 1 commit into from
Jan 18, 2024

Conversation

dnr
Copy link
Member

@dnr dnr commented Jan 18, 2024

What was changed

Embed time zone database in case platform database can't be found.

Why?

This ensures time zones are always available, even on Windows which does not supply a time zone database (at least in a format that Go understands).

Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

Can you confirm that this fixes the issue we saw?

@bergundy
Copy link
Member

I wouldn't go as far as requiring an automated test, just manual confirmation.

@dnr
Copy link
Member Author

dnr commented Jan 18, 2024

Can you confirm that this fixes the issue we saw?

I verified it by running the cli dev-server in an empty docker container so that it couldn't find a platform database. It failed without the embedded db and succeeded with.

@dnr dnr merged commit 8aefcd1 into temporalio:main Jan 18, 2024
17 checks passed
@dnr dnr deleted the tzdata branch January 18, 2024 23:58
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