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 missing minutes portion of timezone UTC offset #127

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

vjr
Copy link
Member

@vjr vjr commented Jul 6, 2024

Fixes timezone UTC offset in the private string seconds_to_utc_offset (int seconds) method which was showing only the hours portion and now also includes the minutes portion.

Before: Asia/Kolkata (UTC +5)

After: Asia/Kolkata (UTC +5.30)

For others without minutes it shows like: blah (UTC +5.00) which I think is expected.

@vjr vjr requested a review from danirabbit July 6, 2024 05:27
@vjr vjr self-assigned this Jul 6, 2024
@vjr
Copy link
Member Author

vjr commented Jul 6, 2024

I've changed the UTC offset separator from dot to colon so it's now (UTC +5:30) instead of (UTC +5.30)

@vjr vjr mentioned this pull request Jul 6, 2024
@vjr vjr requested a review from a team July 6, 2024 05:41
@vjr vjr merged commit d1bbfa0 into timezone-dropdown Jul 31, 2024
3 of 4 checks passed
@vjr vjr deleted the fix-timezone-utc-offset branch July 31, 2024 07:33
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