[okular] [Bug 413591] New: Okular saves annotations with GMT instead of system time

Kishore Gopalakrishnan bugzilla_noreply at kde.org
Tue Oct 29 12:59:01 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=413591

            Bug ID: 413591
           Summary: Okular saves annotations with GMT instead of system
                    time
           Product: okular
           Version: 1.8.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: kishore96 at gmail.com
  Target Milestone: ---

SUMMARY
Okular saves timestamps in GMT in annotations, even though it displays time in
the local timezone while initially creating the annotation.

STEPS TO REPRODUCE
1. Set your timezone to something other than GMT.
2. Open a PDF and create a 'popup note' annotation.
3. Note that the time displayed on the top-right of the popup is the current
time in the local timezone.
4. Type something and exit the box by pressing 'esc'.
5. Save the PDF and wait for Okular to reload it.
6. Double-click on the recently created annotation.
7. Note that the displayed time on the top-right of the popup now matches with
GMT, and not with your current timezone.

OBSERVED RESULT
Annotation is saved with GMT timestamp.

EXPECTED RESULT
Annotation timestamp should contain local time.

SOFTWARE/OS VERSIONS
Linux distro: Arch Linux
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Output of `timedatectl`:
```
Local time: Tue 2019-10-29 16:16:14 IST
           Universal time: Tue 2019-10-29 10:46:14 UTC
                 RTC time: Tue 2019-10-29 10:46:14
                Time zone: Asia/Kolkata (IST, +0530)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
```

My locale settings in 'Settings > Regional Settings > Formats' all correspond
to 'India - English (en_IN)'.

Possible duplicate of bug 400473, but I haven't changed my timezone in years.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list