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

Incorrect handling of DST for regualar events #166

Open
7 tasks done
freezingDaniel opened this issue Feb 28, 2024 · 0 comments
Open
7 tasks done

Incorrect handling of DST for regualar events #166

freezingDaniel opened this issue Feb 28, 2024 · 0 comments
Labels
bug Something is not working

Comments

@freezingDaniel
Copy link

freezingDaniel commented Feb 28, 2024

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.0.2

Affected Android/Custom ROM version

Android 13&14

Affected device model

Tab S6 Lite

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Set Device TZ/clock to UTC+0
  2. Set Device Date to 2024-03-25
  3. Calendar settings: Events>Allow chaing event time zones
  4. (untouched bug) Create regular event on 2024-03-30, 2024-03-31, 2024-04-01 at 5am with Timezone Berlin
  5. (optional touched bug) Repeat 4. with 6am entries. Edit entries for 31&01 fixing the time that has shifted on its own
  6. (optional) do the same in another app for e.g. 7am
  7. Set Device Date to 2024-04-01

Expected behavior

Events should be saved correctly after first save even if saved accross DST seasons:
expected-first-save

Actual behavior

The events that were only stored once are saved incorrectly
The double edited ones seem to be saved correctly, the first save stores the events incorrectly

is

Screenshots/Screen recordings

see above

Additional information

It has been a while since I originally encountered this issue (by missing an important appointment) but it was the reason I (unfortunately) had to stop using this Calendar.

While I have not verified this time, for my old issue I came to the conclusion:

  • An event that's created while being in CET, is incorrectly stored and displayed once in CEST (ics file has incorrect DTSTART/DTEND time).
    This is very dangerous as it'll even show with the incorrect time in different apps, as the event itself is incorrectly stored.

Maybe related to: Issue-165

Potentially useful in case I missed something: SimpleMobileTools/Simple-Calendar#1973

@freezingDaniel freezingDaniel added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Feb 28, 2024
@Aga-C Aga-C removed the needs triage Issue is not yet ready for PR authors to take up label Mar 14, 2024
@Aga-C Aga-C mentioned this issue Dec 11, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants