Discussion:
VTIMEZONE -- LG generate a "specific" block
gNeandr
2012-05-11 22:13:58 UTC
Permalink
We have received a report a ICS calendar file isn't compatible between
Lightning and ReminderFox -- both are said to support RFC
http://tools.ietf.org/html/rfc5545.
BEGIN:VTIMEZONE
TZID:/Mozilla.org/BasicTimezones/GMT
LOCATION:GMT
END:VTIMEZONE
AFAIS the RFC definition with section
http://tools.ietf.org/html/rfc5545#section-3.6.5 defines:

; One of 'standardc' or 'daylightc' MUST occur
; and each MAY occur more than once.

None of those are defined with the block above.
Is there another definition which allows that definition?

Any help is very much welcomed .. maybe there is a good/better reference
about this?

Günter
Matthew Mecca
2012-05-12 02:00:41 UTC
Permalink
Post by gNeandr
BEGIN:VTIMEZONE
TZID:/Mozilla.org/BasicTimezones/GMT
LOCATION:GMT
END:VTIMEZONE
AFAIS the RFC definition with section
; One of 'standardc' or 'daylightc' MUST occur
; and each MAY occur more than once.
Also from http://tools.ietf.org/html/rfc5545#section-3.6.5

The "VTIMEZONE" calendar component MUST include the "TZID"
property and at least one definition of a "STANDARD" or "DAYLIGHT"
sub-component. The "STANDARD" or "DAYLIGHT" sub-component MUST
include the "DTSTART", "TZOFFSETFROM", and "TZOFFSETTO"
properties.

So I would agree that VTIMEZONE block does appear to be invalid. Does
the file pass the validator at http://severinghaus.org/projects/icv/ ?

Was this file generated by Lightning?
gNeandr
2012-05-12 07:44:56 UTC
Permalink
Post by Matthew Mecca
Post by gNeandr
BEGIN:VTIMEZONE
TZID:/Mozilla.org/BasicTimezones/GMT
LOCATION:GMT
END:VTIMEZONE
AFAIS the RFC definition with section
; One of 'standardc' or 'daylightc' MUST occur
; and each MAY occur more than once.
Also from http://tools.ietf.org/html/rfc5545#section-3.6.5
The "VTIMEZONE" calendar component MUST include the "TZID"
property and at least one definition of a "STANDARD" or "DAYLIGHT"
sub-component. The "STANDARD" or "DAYLIGHT" sub-component MUST
include the "DTSTART", "TZOFFSETFROM", and "TZOFFSETTO"
properties.
So I would agree that VTIMEZONE block does appear to be invalid. Does
the file pass the validator at http://severinghaus.org/projects/icv/ ?
Yes it passes, and also my favorit validator icalvalid.cloudapp.net/
don't give feedback about that issue too.
Post by Matthew Mecca
Was this file generated by Lightning?
Will have to recheck with the user.
Stefan Sitter
2012-05-14 16:49:18 UTC
Permalink
BEGIN:VTIMEZONE
TZID:/Mozilla.org/BasicTimezones/GMT
LOCATION:GMT
END:VTIMEZONE
AFAIK Lightning doesn't contain and create this timezone. Maybe it is an
old event that was created using the old Mozilla Calendar extension that
was in development before Sunbird and Lightning.

Maybe you could suggest to the user to edit the event in Lightning,
assign a valid timezone to the event and save it.
gNeandr
2012-05-14 18:53:11 UTC
Permalink
Post by Stefan Sitter
BEGIN:VTIMEZONE
TZID:/Mozilla.org/BasicTimezones/GMT
LOCATION:GMT
END:VTIMEZONE
AFAIK Lightning doesn't contain and create this timezone. Maybe it is an
old event that was created using the old Mozilla Calendar extension that
was in development before Sunbird and Lightning.
Maybe you could suggest to the user to edit the event in Lightning,
assign a valid timezone to the event and save it.
Seems not to be that easy. The user text-edited the ICS file with
deleting that block. After saving a total other event that block is back
again. But he also spoke about some general problems with his
installation. So at the moment I wait for more feedback from him.
We report back about further details.

Thanks Stefan ;)

Loading...