Plex does not respect OS timezone

Server Version#: 1.13.5.5332
Player Version#: N/A

I’ve seen many posts about this issue but it still hasn’t been fixed. My timedatectl is correctly set to Europe/London, I’ve tried adding the TZ env variable set to Europe/London, but the TV Guide is still 1 hour behind, seemingly ignoring daylight savings. Please either fix, or provide the option to override the OS timezone in PMS itself.

Thanks

All of PMS’ logs are written in locatime, which is derived from OS timezone. This is the first I’ve heard of it so definitely want to find out what’s happening.

May I have your DEBUG log files please? Settings - Server - Help - Download Logs

Attach the ZIP file and please state the localtime when the logs where captured.

Please also provide as much info about the distro itself as you can (Distro, Version, kernel version)

Hi there. Thanks for getting back!

The log is attached, interestingly, the filename shows the correct time, so I’ve attached a screenshot of the TV guide, which is an hour behind. I’ve also included the output of timedatectl. Distro is Ubuntu, 18.04.1, Kernel: Linux plx01.xxx.xxx.xxx 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.

I’ve also included some links to previous threads on this issue:
https://forums.plex.tv/t/program-guide-is-correct-but-1-hour-off/185488
https://forums.plex.tv/t/clock-incorrect-on-plex-app-but-correct-everywhere-else/180038/11Plex Media (934.7 KB)

Thank you for clarifying and providing the additional information. This is DVR/Live TV specific. Further refining, it’s EPG-specific.

Unfortunately I cannot help you with DVR/Live TV but I can dig around more at the Linux level.

Yes, there are EPG issues. Yes, they are getting a lot of attention and effort. No, I haven’t had the opportunity to see what the latest fixes are.

Steps to take, if not already taken?

  1. NTP enabled and sync’d ?
  2. Bump your timezone to CET and check EPG alignment to localtime
  3. Delete the DVR setup (remove it from your PMS config) and re-initialize it. This forces the EPG to start fresh.

Interestingly, I have

[chuck@lizum ~.101]$ timedatectl status
                      Local time: Thu 2018-08-30 10:33:22 EDT
                  Universal time: Thu 2018-08-30 14:33:22 UTC
        RTC time: n/a
                       Time zone: America/New_York (EDT, -0400)
       System clock synchronized: yes
systemd-timesyncd.service active: yes
                 RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode can not be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.
[chuck@lizum ~.102]$

I am EST5EDT timezone (Eastern US) and EPG is correct. I therefore wonder if the EPG info is being provided in UTC or BST ?

Ok, so please don’t shoot me. I was doing some JS stuff and noticed by browser was returning the wrong time for date(). Turns out I’d turned on Firefox’s “privacy.resistFingerprinting”, which forces the JS timezone to UTC, hence why I was seeing the wrong stuff in the guide. So sorry for bothering you! Had no idea it had that effect! Thanks for the help!

1 Like

If I can’t shoot you, can I get the belt instead? :smiley: LOL

I guess I’m British so that would be more appropriate :rofl:

1 Like

LOL

Have a great evening!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.