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

            Bug ID: 521114
           Summary: Calendar today-highlight shows the previous day when
                    local timezone is ahead of UTC and local time is
                    before UTC midnight (regression of bug 394423)
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.4
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Digital Clock widget
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

Steps to reproduce
  1. Set the systemwide timezone to one ahead of UTC, e.g. Asia/Dhaka (UTC+6),
as the only zone in the Digital Clock timezone list.
  2. Wait until local time is between 00:00 and 06:00, so the local date is the
next day while UTC is still the previous day. 
  3. Click the panel clock to open the calendar grid.

  Observed result
  The clock face shows the correct local date and time (e.g. Sat 6 Jun 05:49).
The calendar grid below highlights the previous day as today (Fri 5). It
  corrects itself only when UTC passes midnight (06:00 local). Restarting
plasmashell does not help, so it is a date computation, not a stale render. The
  applet is pinned to Asia/Dhaka, so it is not a misconfiguration.

  Expected result
  The calendar today-highlight should follow the same local timezone as the
clock and highlight 6 Jun.

  Additional information
  Regression of bug 394423, fixed for Plasma 5 / Qt 5.11 by switching QDate to
QDateTime so the date carries a timezone. Plasma 6 appears to compute today
  from the UTC date again. Fault window is the offset-sized period after local
midnight (00:00 to 06:00 for UTC+6); outside it the highlight is correct.
  Plasma 6.6.4, Qt 6.10.2, KDE Frameworks 6.x, Ubuntu 26.04 LTS, kernel
7.0.0-22-generic, Wayland.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to