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(web): properly display the UTC offset #1646

Merged
merged 2 commits into from
Sep 30, 2024
Merged

fix(web): properly display the UTC offset #1646

merged 2 commits into from
Sep 30, 2024

Conversation

imobachgs
Copy link
Contributor

Problem

The UTC offset is not properly calculated, as shown in #1335.

Solution

Screenshot

Captura desde 2024-09-30 12-25-24

@@ -107,6 +107,7 @@
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"@date-fns/tz": "^1.1.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, it uses the Intl browser API so no hardcoded database included, nice! 👍

@imobachgs imobachgs merged commit 037f0b0 into master Sep 30, 2024
2 checks passed
@imobachgs imobachgs deleted the fix-utc-offset branch September 30, 2024 14:32
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