[mythtv-users] How to set time zone
Bob Sully
malibyte56 at gmail.com
Sun Feb 16 19:29:16 UTC 2025
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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250216/3ea3efe3/attachment.htm>
More information about the mythtv-users
mailing list