[mythtv-users] MythWeb timezone incorrect and a possible fix?

Michael T. Dean mtdean at thirdcontact.com
Tue Feb 11 02:28:37 UTC 2020


On 02/08/2020 10:40 PM, Rajil Saraswat wrote:
> Hello,
> The timezone on my mythweb session is incorrect. The only way to fix 
> was to comment out in /usr/share/mythtv/mythweb/includes/init.php the 
> following line
>
> MythBackend::find()->setTimezone();
>
> This function is in /usr/share/mythtv/bindings/php/MythBackend.php and 
> seems to query the timezone from backend,
>
> $response = $this->sendCommand('QUERY_TIME_ZONE');
>
> My guess is that the backend is reporting the incorrecting timezone. 
> Where do i set the timezone on the backend?

What time zone does your backend log report it's using on mythbackend 
startup (not mythweb log, the mythbackend log)?  Is it the correct one?

Mike


More information about the mythtv-users mailing list