-
Notifications
You must be signed in to change notification settings - Fork 67
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
Incorrect Timezone in Code #303
Comments
Hi, I second it! I spent two hours trying to figure out why my computer's events delay for an hour compared to my phone's event (I use CalDAV), and I'm finally happy to find a reason! I'm indeed in Almaty currently, my computer's tzdata is correct and it seems an issue is in a manually updated app/src/main/kotlin/org/fossify/calendar/helpers/MyTimeZones.kt file. This PR seems okay for now: https://github.com/FossifyOrg/Calendar/pull/307/files A better PR would update all timezones: https://www.joda.org/joda-time/timezones.html The best PR would replace self-hosted timezone database with I've never programmed for Android, although I can help to investigate how to do this right. |
Fix Kazakhstan (Asia/Almaty) GMT offset (#303)
Should be fixed in the next update. |
Checklist
Affected app version
1.0.3
Affected Android/Custom ROM version
Android 14
Affected device model
Pixel 8
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
Navigate to app/src/main/kotlin/org/fossify/calendar/helpers/MyTimeZones.kt
Note that the expected GMT offset for "Asia/Almaty" should be GMT+5 (since 2024), not GMT+6
Expected behavior
The correct association should be "GMT+5" for "Asia/Almaty"
Actual behavior
The code incorrectly associates "Asia/Almaty" with "GMT+6", which results in an incorrect time calculation.
Screenshots/Screen recordings
Additional information
No response
The text was updated successfully, but these errors were encountered: