Bug 501836 - notifier is confusing timezones
Summary: notifier is confusing timezones
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Notifier (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 16:04 UTC by Harald Sitter
Modified: 2025-04-16 19:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2025-03-21 16:04:05 UTC
SUMMARY
https://invent.kde.org/plasma/discover/-/merge_requests/1063#note_1164072

org.kde.plasma.libdiscover.backend.packagekit: using... PackageKit::Transaction(0x1b07b2a0) "/99089_cacaaeda"
org.kde.plasma.libdiscover.backend.packagekit: using... PackageKit::Transaction(0x1b1f4880) "/99090_ebedaebb"
org.kde.plasma.discover.notifier: updateStatusNotifier: hasUpdates true hasSecurityUpdates false
org.kde.plasma.libdiscover.backend.packagekit: using... PackageKit::Transaction(0x1b08f400) "/99091_ccaccbed"
org.kde.plasma.discover.notifier: updateStatusNotifier: hasUpdates true hasSecurityUpdates false
org.kde.plasma.discover.notifier: Not notifying about updates, earliestNextNotificationTime is QDateTime(2025-03-15 16:42:13.498 MDT Qt::LocalTime)
org.kde.plasma.discover.notifier: refreshUnattended: not notifying about updates
org.kde.plasma.libdiscover.backend.packagekit: using... PackageKit::Transaction(0x1b212d80) "/99096_dadaadbb"
org.kde.plasma.discover.notifier: updateStatusNotifier: hasUpdates true hasSecurityUpdates false
org.kde.plasma.discover.notifier: Not notifying about updates, earliestNextNotificationTime is QDateTime(2025-03-15 16:42:13.498 MDT Qt::LocalTime)
org.kde.plasma.discover.notifier: refreshUnattended: not notifying about updates
org.kde.plasma.libdiscover.backend.packagekit: using... PackageKit::Transaction(0x7faf48326880) "/99097_dbeceadd"```


STEPS TO REPRODUCE
-1. have timezone that isn't UTC
0. have updates
1. reset notifier state
2. run notifier
3. get notification
4. run notifier again

OBSERVED RESULT
the reported timestamps will debug as local times but are in fact UTC


EXPECTED RESULT
timezone consistency

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 202502280256
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION
Comment 1 Yosuke Matsumura 2025-04-16 19:15:55 UTC
I believe this was addressed in https://invent.kde.org/plasma/discover/-/merge_requests/1077#note_1189930
Comment 2 Nate Graham 2025-04-16 19:26:29 UTC
Indeed.