Bug 429768 - To Do - Google Tasks always changes back to UTC
Summary: To Do - Google Tasks always changes back to UTC
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: todoview (show other bugs)
Version: 5.15.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-28 16:48 UTC by Jebin
Modified: 2020-12-12 23:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.16.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jebin 2020-11-28 16:48:14 UTC
SUMMARY: When synced with Google account, the To-do get automatically converted to UTC time zone. This results in it being listed in the wrong time or even wrong day.


STEPS TO REPRODUCE
1. Set the default time zone for your system as something different from UTC.
2. Create a To-do in a linked google account and set some specific time.
3. Sync manually or let it be done automatically.

OBSERVED RESULT
The timezone for the task gets converted to UTC and the actual time gets changed to something new. This sometimes results in the task being listed on the wrong day.
Also, even if I edit and existing task to local time, it changes back on the next sync.

EXPECTED RESULT
Tasks stay in the same timezone as with what it was created.

SOFTWARE/OS VERSIONS

Operating System: Fedora 33
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.10-200.fc33.x86_64
OS Type: 64-bit

ADDITIONAL INFORMATION
- The google account has the same local time zone. (Default settings)
- The system has dual boot and has RTC set in local time zone. (RTC in local TZ: yes)
- I tried creating an event in KOrganizer. There is no such problem happening for events. (Could have been partially fixed in #377977) (Hence, the above setting for timedatectl could not be the problem)
Comment 1 Jebin 2020-11-28 16:49:39 UTC
Missed:

KOrganizer Version 5.15.3 (20.08.3)
Comment 2 gjditchfield 2020-11-28 18:43:38 UTC
Other weirdness: in my test, I created the to-do with a start time and due time.  The due time changed to 12:00 AM UTC, and the start time was disabled and changed to the time of the sync, in the local time zone.
Comment 3 Bug Janitor Service 2020-12-02 22:25:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/libkgapi/-/merge_requests/14