[mythtv-users] Mythweb times off by an hour

Oliver Maunder mail at olivermaunder.co.uk
Tue May 11 21:20:20 UTC 2010


Hi

I'm in the UK and since the clocks changed to BST, all times in
Mythweb have been an hour out, stuck in GMT. This includes the
timestamp at the top of the screen and all the times on the listings
page. The time on my backend is correct, and the webserver is running
on the same machine as the backend.

In the past people have had similar problems because of the way PHP
handles timezones, and specifying a timezone in the php.ini file fixes
the time. However, I don't think this is the same issue. Only Mythweb
displays the wrong time - other PHP pages are OK.

For example a simple file containing

    <?php echo(date('h:i:s')) ?>

shows the correct time.

Does anyone know what's going on here, and how I can diagnose this?

Thanks

Olly


More information about the mythtv-users mailing list