icalendar/icalendar — pull request #18 by bnjamin (2013-03-28 12:09:21+00:00)
Title: Issue with timezones

Fixed issue with timezones in google calendar, so when you use TZInfo to generate the standard and daytime offsets, a "+" is added to the offset.

E.g. "0100" becomes "+0100"

If you omit the "+", google calendar won't parse the feed correctly.

If you want to add timezone offsets to the whole feed it's as easy as:
```ruby
require "icalendar/tzinfo"
tz = TZInfo::Timezone.get(Time.zone.tzinfo.name)
timezone = tz.ical_timezone(DateTime.new(1970))
@cal = Calendar.new
@cal.add(timezone)
```