Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: 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 commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Oct 7, 2009, 6:26 PM

Post #1 of 7 (602 views)
Permalink
Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached.

#7270: ical/ics files created by mythweb do not set the time correctly in google
calendar, due to TZ issues - patch attached.
---------------------------------+------------------------------------------
Reporter: matt [at] mossholder | Owner: kormoc
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: head
Severity: medium | Mlocked: 0
---------------------------------+------------------------------------------
Google Calendar is very picky about the data it will accept from an ICS
file provided to it via a URL (i.e. subscribing to a calendar).

The attached patch resolves the issue by converting all times to UTC, and
setting the TZID to Etc/Universal, which Google seems to like.

This seems to be the least invasive means to get the calendar to work
correctly with Google. Another method would be the leave out the TZID, and
add a "Z" to the end of the UTC time string, but the vcalendar class
doesn't seem to support this natively.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 8, 2009, 10:30 PM

Post #2 of 7 (559 views)
Permalink
Re: Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached. [In reply to]

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

* milestone: unknown => 0.22.1


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 7, 2009, 10:39 AM

Post #3 of 7 (526 views)
Permalink
Re: Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached. [In reply to]

#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
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Feb 11, 2010, 8:07 AM

Post #4 of 7 (490 views)
Permalink
Re: Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached. [In reply to]

#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.23
Component: Plugin - MythWeb | Version: head
Severity: medium | Mlocked: 0
---------------------------------+------------------------------------------
Changes (by stuarta):

* milestone: 0.22.1 => 0.23


Comment:

We've decided not to do a 0.22 point release

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Mar 2, 2010, 9:34 AM

Post #5 of 7 (376 views)
Permalink
Re: Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached. [In reply to]

#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.24
Component: Plugin - MythWeb | Version: head
Severity: medium | Mlocked: 0
---------------------------------+------------------------------------------
Changes (by robertm):

* milestone: 0.23 => 0.24


Comment:

Bumping enhancement patch to next release.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

May 31, 2010, 12:03 PM

Post #6 of 7 (215 views)
Permalink
Re: Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached. [In reply to]

#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: closed
Priority: minor | Milestone: 0.24
Component: Plugin - MythWeb | Version: head
Severity: medium | Resolution: fixed
Mlocked: 0 |
---------------------------------+------------------------------------------
Changes (by kormoc):

* status: new => closed
* resolution: => fixed


Comment:

(In [24910]) Fixes #7270, this adds in the X-WR-TIMEZONE header by default
to all vcalendar outputs

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


noreply at mythtv

Dec 6, 2010, 5:58 PM

Post #7 of 7 (134 views)
Permalink
Re: Ticket #7270: ical/ics files created by mythweb do not set the time correctly in google calendar, due to TZ issues - patch attached. [In reply to]

#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: closed
Priority: minor | Milestone: 0.24
Component: Plugin - MythWeb | Version: head
Severity: medium | Resolution: fixed
Keywords: ical ics calendar google | Ticket locked: 0
--------------------------------------+------------------------

Comment (by matt@…):

Unfortunately, this doesn't seem to do the trick for Google. They say they
need this, but they also need the much more complex
VTIMEZONE/TZID/TZOFFSETFROM/TZOFFSETTO... type entries. I think the
original approach of utilizing UTC is much more simplistic, and actually
works with Google atrocious ICAL parser.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7270#comment:6>
MythTV <http://svn.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.