Public bug reported:

When a task is completed it can be marked as such. The code, correctly,
checks to ensure that a task is not being marked as completed before the
current time. Howvever, the current time is taken (apparently) from UTC
and not from the current local timezone. This means that it is not
possible to mark a task as completed in the eastern hemisphere before
the UTC offset of the timezone, i.e. we must be after the threshold in
UTC.

If I complete a task before 9:30am and attempt to mark it as completed I
am met with: "Completed date cannot be in the future".

This appears to be due to an optimisation in
cal_comp_util_compare_time_with_today which only compares time (without
timezone) if the time is only a date.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: evolution 3.28.5-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.18.0-25.26~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-25-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 30 09:24:12 2019
InstallationDate: Installed on 2019-05-22 (68 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: evolution
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: evolution (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/1838355

Title:
  task completion check UTC instead of local timezone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1838355/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to