[mythtv-users] mythweb timezone being set wrong

Michael T. Dean mtdean at thirdcontact.com
Mon Jul 23 12:40:04 UTC 2012

On 07/23/2012 12:08 AM, David McCloskey wrote:
> For some reason, my backend is reporting my timezone as New_York when 
> it should be Los_Angeles (I recently moved).  In 
> classes/MythBackened.php, it sets the timezone using 
> date_default_timezone_set to $_SESSION['backend']['timezone']['value'] 
> which is "America/New_York".  This, despite the fact that my backend 
> (which is on the same machine) is returning PDT date from "date" and 
> /etc/localtime and /etc/timezone are updated to reflect 
> America/Los_Angeles.  Where is my backend getting the idea of 
> New_York, so I can change it?

It only checks the value "once in a while" (once a day or so, IIRC), so 
after moving to a new time zone, you'll need to wait a while to pick up 
the new zone.


More information about the mythtv-users mailing list