[mythtv-commits] Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached.

MythTV mythtv at cvs.mythtv.org
Sat Nov 7 18:39:43 UTC 2009


#7270: ical/ics files created by mythweb do not set the time correctly in google
calendar, due to TZ issues - patch attached.
---------------------------------+------------------------------------------
 Reporter:  matt@…               |       Owner:  kormoc
     Type:  enhancement          |      Status:  new   
 Priority:  minor                |   Milestone:  0.22.1
Component:  Plugin - MythWeb     |     Version:  head  
 Severity:  medium               |     Mlocked:  0     
---------------------------------+------------------------------------------

Comment(by anonymous):

 Another method would be to use the X-WR-TIMEZONE property of vcalendar.
 This property is supported by Google calendar, Outlook, and iCal, amongst
 others I'm sure. The code I put in modules/tv/tmpl/ical/upcoming.php is

 $tz = date("e");
 $calendar->setProperty( "X-WR-TIMEZONE", $tz );

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list