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

            Bug ID: 463658
           Summary: The time for programs is not adapted to the local time
    Classification: Applications
           Product: Telly Skout
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: pl...@mailbox.org
          Reporter: georgefb...@gmail.com
  Target Milestone: ---

SUMMARY
The time displayed is the time from the country that provides the info, Germany
in case of tvspielfilm.de, which is 1 hour behind compared to my time.
That is because the QDateTime is constructed from a timestamp which has no info
regarding timezones, so a timezone has to be set manually.

Setting the timezone in database.cpp > Database::programs fixes the problem 
`data.m_startTime.setTimeZone(QTimeZone("Europe/Berlin"));`.
STEPS TO REPRODUCE
1. Be in a different timezone than the info provider 
2. Open app
3. Time shown is the time it runs in Germany not the time it runs in my
country, if something runs at 09:00 in Germany it should display as running at
10:00 for me. 

OBSERVED RESULT
Wrong time is shown

EXPECTED RESULT
Correct time is shown

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221228
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.1-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.5 GiO of RAM
Graphics Processor: AMD Radeon RX 6600
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X470 AORUS ULTRA GAMING

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

Reply via email to