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

Mike Holden mikeholden99+mythtv at gmail.com
Sun Feb 9 04:07:00 UTC 2020


On Sun, 9 Feb 2020 at 14:41, Rajil Saraswat <rajil.s at gmail.com> 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?
>
> Thanks
>

In /etc/php.ini:

; Local Variables:
max_input_vars = 8000
date.timezone = "Australia/Sydney"

The max_input_vars setting is useful in some MythWeb pages, especially the
channel editor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200209/1f099e8e/attachment.htm>


More information about the mythtv-users mailing list