Larry Karnowski
2008-Mar-21 18:34 UTC
[iCalendar-devel] PATCH: Timezone-specific bug in tests
All, When I run "rake test" with my computer set to the -5 (EST) timezone, I always see the conversions_test.rb fail. It''s because the line setting the x_time_of_day is inputing a simple Time.at(123456), and then the sample ICS file has the output set to the +2 timezone. I''ve attached a minor patch against 1.0.2 that makes the timezone explicit in the test, allowing it to run anywhere in the world. Hope this helps someone, Larry -------------- next part -------------- A non-text attachment was scrubbed... Name: timezone_test_conversion.patch Type: application/octet-stream Size: 735 bytes Desc: not available Url : http://rubyforge.org/pipermail/icalendar-devel/attachments/20080321/ce37c5d0/attachment.obj
Seemingly Similar Threads
- Status of Timezone support / Handeling DTSTART; TZID="(GMT-05.00) Eastern Time (US & Canada)":20080107T123000
- Icalendar::UnknownPropertyMethod: Unknown property type: on Parsing a ical file
- Timezone support?
- Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
- Bug in 1.1.3: Invalid escape of rrule value