[mythtv-users] How to set time zone
Peter Bennett
pb.mythtv at gmail.com
Sun Feb 16 20:38:44 UTC 2025
On 2/16/25 14:29, Bob Sully wrote:
>
> Sorry for sending previously with the wrong subject.
>
> On 2/15/25 12:10, mythtv-users-request at mythtv.org wrote:
>> OK...
>> I rebooted the BE/FE system and changed the hardware clock to my current
>> local time.
>>
>> The new web interface STILL lists the start times in UTC.
>>
>> I've never seen this before with the old Mythweb interface.
>> Again, I'm running v34-fixes on Ubuntu 24.04.
>>
>> Every other app gets it correct.
>>
>>
>> Please advise - thanks!!
>>
>
> > Bob,
>
> > Just as a point of comparison, I live in the Eastern USA time zone. It was
> > recommended to me since I don't run Windows, that I should keep my hardware
> > RTC set to UTC. It's been that way for 15 years on all my PCs, except the
> > Windows Laptop I pull out once a year to run TurboTax.
> >
> > All my Mythtv apps including mythfrontend and the Web App for scheduling
> > and setup work in EST or EDT depending the time of year.
> > I sometimes take my portable Combo BE/FE mythtv NUC on the road in my
> > camper and I just use the KDE Plasma Timezone setting to change the
> > timezone and everything works just like at home.
> >
> > jim at mythtv:~$ sudo timedatectl
> > [sudo] password for jim:
> > Local time: Sat 2025-02-15 13:23:20 EST
> > Universal time: Sat 2025-02-15 18:23:20 UTC
> > RTC time: Sat 2025-02-15 18:23:20
> > Time zone: US/Eastern (EST, -0500)
> > System clock synchronized: yes
> > NTP service: active
> > RTC in local TZ: no
> >
> > Jim A
>
> Jim -
> As I had said earlier - I had always previously set the hardware RTC to UTC and never had any problems
> with Myth or any other app. Using the old Mythweb, the times were correct.
>
> No joy now with the hweclock set to UTC or PST.
>
> As an example, this is an entry from today's schedule (AFTER I rebooted with the hwclock set to local TZ):
>
> 2/15/2025
> 6:00 PM 180 min 2025 4 Nations Face-Off Team Finland vs. Team Sweden
>
> 2/15/2025
> 007 KABC
>
>
> As you can see, it lists the start time as 6:00 PM. The game actually
> started at 10:00 AM here.
>
>
> If I load up Mythweb: (192.168.56.9/mythweb) - the times are correct!!
>
> Still scratching my head.
>
>
> > What does this return (run on your backend): curl --header
> Accept:application/json localhost:6544/Myth/GetTimeZone
> > -- Bill
>
> [rcs at vader: ~]curl --headerAccept:application/json localhost:6544/Myth/GetTimeZonene
> {"TimeZoneInfo": {"TimeZoneID": "America\/Los_Angeles", "UTCOffset": -28800, "CurrentDateTime": "2025-02-15T23:06:06Z"}}
>
> Bill - so it appears to be correct here.
> This, and the fact that the old Mythweb gets the listings correct -
> makes me think that there's some quirk in the new web interface **on
> this machine** that needs to be fixed.
>
> Please advise - thanks!
>
> --
> --- Regards, *Bob Sully*
> --
> --- Regards, *Bob Sully*
>
I am using chrome browser. It may be different with Firefox.
On xubuntu select "Time and Date" from the menu. Check the time zone.
Click Unlock and fix it. Relaunch chrome.
I just tested this as follows: I am in the Eastern time zone.
I went to web app and saw in backend status, schedule, a bunch of shows
scheduled for 8 PM on various days.
I went to "Time and Date" and changed the time zone to America/Los
Angeles. Closed chrome and opened again. Went to backend status and now
the shows are scheduled for 5 PM on various days.
The program schedule now lists prime time shows at 5 PM instead of 8 PM.
Does this work for you? Are there specific pages in the web app that
show the wrong time zone?
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250216/60b5fa97/attachment.htm>
More information about the mythtv-users
mailing list