Skip to content

Daylight savings time issue #148

@fdagpigj

Description

@fdagpigj

Describe the bug
If a time entry starts in the last hour of summer time (preceding the shifting of the clocks to winter time), editing the entry will cause its start time to be in the first hour of winter time instead, even if only the end time was touched.

To Reproduce
On Sunday October 30th 2022 at 3:00-3:59 in timezone Eastern European Summer Time (EEST) UTC+3, tap on any activity. Stop the activity after the system automatically changes timezone to Eastern European Time (EET) UTC+2, for example, at 11:11 in the morning. Tap the time entry to edit, be careful not to touch the starting time input but change the end time to 6:00 and press Ok to save.

Expected behavior
Only the end time would be edited since I did not touch the start time. For example a task which was started at 3:05 in summer time and ends at 6:00 in winter time should have a duration of 3:55.

Actual behavior
A task which was started at 3:05 and ends at 6:00 ends up with a duration of 2:55. This means the time entry's start time has shifted to be in the same timezone as the end time.

Ideally I should also be able to postfactum create a new time entry which starts in either timezone. This could for example be in the form of a switch that only shows up if the selected time is at an ambiguous hour.

Smartphone (please complete the following information):

  • Device: Nokia 6.1
  • OS: Android 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions