Skip to content

All-day events span extra days after changing time zones #783

@skiwarz

Description

@skiwarz

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.6.1 now, but this has existed for many, many months. Unsure which version I noticed it.

Affected Android/Custom ROM version

LineageOS 22.2 / Android 15

Affected device model

Pixel 6a

How did you install the app?

F-Droid / IzzyOnDroid

Which calendar service or provider do you use, if any?

None

Which sync adapter app do you use for calendar synchronization, if any?

None

Steps to reproduce the bug

  1. Add an all-day event.
  2. Change your time zone in the android settings, or by physically traveling to a different time zone.
  3. Observe that your event now shows as occurring on multiple days.

Expected behavior

An all-day event placed on a date (say, May 20th) should appear on [May 20th] regardless of which time zone you're in or change to.

Actual behavior

As stated, changing the phone's time zone causes the event to span multiple days.

Screenshots/Screen recordings

No response

Additional information

I haven't looked through the code, but it almost seems like an "all-day" event is entered as beginning at 00:01 and ending at 23:59 on that particular day, or something like that. If true, this would cause the time to shift into the previous or next day when changing time zones.

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions