Displaying 20 results from an estimated 2000 matches similar to: "PATCH: Timezone-specific bug in tests"
2008 Jan 08
0
Status of Timezone support / Handeling DTSTART; TZID="(GMT-05.00) Eastern Time (US & Canada)":20080107T123000
I can not tell from the docs or from the mailing list what is the
state of timezone support in the iCalendar package?
If I want to parse an iCalendar file that has non utc dstarts and
dends will it convert those times to UTC or otherwise allow me to do
that?
When I tried to parse an iCalendar input file started off with
something like this:
BEGIN:VCALENDAR
METHOD:REQUEST
2010 Mar 25
1
Icalendar::UnknownPropertyMethod: Unknown property type: on Parsing a ical file
I downloaded the ics from
http://www.thegreenerleithsocial.org/events/cleanup-the-cycle-path and
tried to parse it in my rails app console:
?> cal_file = File.open("/tmp/Clean_up the Cycle Path-1.ics")
=> #<File:/tmp/Clean_up the Cycle Path-1.ics>
>> cals = Icalendar.parse(cal_file)
Icalendar::UnknownPropertyMethod: Unknown property type: website
from
2008 Sep 04
1
Timezone support?
This is a follow-up to the thread ending with:
http://rubyforge.org/pipermail/vpim-talk/2008/000120.html
I too am in search of some ruby parser for icalendar which properly handles
timezones on the datetimes in the icalendar RFC.
As I understand it there are actually three types of times.
1) UTC times with a string form of yyyymmddThhmmssZ
note the trailing Z indicates zulu time aka utc.
2)
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
I need to send an ics file to a web service, so however it gets there it
will arrive as a string. Is there another way to begin Icalendar''s Parse
than with a file?
I''m currently sending the file using the curl command...
curl -v --data-urlencode ics at invite.ics http://127.0.0.1:4567/ics2event
I''ve tried curl''s --data-binary and sinatra''s
2010 Apr 04
0
Bug in 1.1.3: Invalid escape of rrule value
Hi,
I found a bug in Icalendar 1.1.3.
Currently it escapes ";" in RRULE''s value, so it produces code with invalid
syntax.
Attached monkey patch fixes the problem (please note line 23 and 30). It is
aware only of RRULE, but maybe there''re other tags that are also affected -
I don''t know ics specification very well, so I can''t say that.
Thanks for
2010 Mar 12
0
Writing calendar files to .ics with more than one event.
Hi,
I have a huge (2.2 MB) .ics file that I am trying to import into Google Calendar. Google suggests file sizes no greater than 1 MB. Unfortunately, it fails when I try to upload it in it''s entirety or when I try to manually split it up into smaller chunks (6-800k). I have now looked into the iCalendar gem as a way to split up the .ics file into calendars by year (there are about 8000
2008 Aug 22
0
Question about Timezone In 1.0.2
I''m looking at the docs for 1.0.2 and saw this example...
# Now, you can make timezones like this
cal = Calendar.new
cal.timezone do
timezone_id "America/Chicago"
daylight do
timezone_offset_from "-0600"
timezone_offset_to "-0500"
timezone_name "CDT"
dtstart
2008 Dec 30
3
integration of tzinfo with icalendar
My interest in icalendar is more on the ical generation side instead of
the ical parsing side. As such, I did a bit of work on a tzinfo mixin
that will generate the timezone rules based on the tzinfo gem. This
lets you do the following:
estart = DateTime.new(2008, 12, 29, 8, 0, 0)
eend = DateTime.new(2008, 12, 29, 11, 0, 0)
tstring = "America/Chicago"
tz =
2010 Jan 27
1
Patch and introduction
Hi,
I''m currently trying to get icalendar packaged and into Fedora and EPEL,
During this process I''ve noticed that you''re currently using
Gem::manage_gems
in the make Rakefile, this method was depecated in rubygems 1.3.0 them
removed in rubygems 1.3.3.
The attached patch updates the Rakefile replacing the method with the
two require calls required.
Mark
--
Mark
2006 Feb 20
0
vpimd, a personal information server
This isn''t even close to ready for release, but in case anybody is
interested, has feedback, finds it useful as is, or even wants to
collaborate...
I''ve been working on a "personal information server", something of a
protocol multiplexer. Right now it serves calendar feeds for:
- a local calendar folder (iCal 1.x''s Library/Calendars)
- rss for local todos
2005 Jan 01
1
Re: vpim: bug in icalendar.rb, Icalendar#decode_status
Thanks for the bug report!
I''ll get a new release out next week, I''ve been on vacation for a few
weeks and I''m just getting up to speed with being back in a city.
In the meantime, the fix is to apply the following patch (in
Icalendar.decode_duration). I''ve also integrated your tests, thanks.
Cheers,
Sam
diff -u -r1.22 icalendar.rb
--- vpim/icalendar.rb 17
2007 Feb 07
2
How to set TZID in DTSTART?
Hello all,
I am currently evaluating the vpim libraries and like them very much.
However there''s one thing I can''t get done: How can I set the TZID
parameter for DTSTART/END dates so my encoded ICS file looks
something like this:
BEGIN:VEVENT
...
DTSTART;TZID=Eastern Time:20071201T080000
DTEND;TZID=Eastern Time:20071207T110000
...
END:VEVENT
I managed
2007 Apr 07
0
Icalendar::Get::Common missing? / cmd-itip.sh fails on getting comment?
I am brand new to vpim, so I tried to use the example cmd-itip.sh.
But it fails on the code:
if e.comments
with the error message:
./cmd-itip.txt.sh:113: undefined method `comment'' for
#<Vpim::Icalendar::Vevent:0x101899c> (NoMethodError)
In the rdoc it says there should be Icalendar::Get::Common#comment
But there is no module Get in Vpim:Icalendar. There is the module
2008 Feb 27
2
All Day Events
I must be stupid because this cannot be this hard.
I''m trying to build an all day calendar event. In most clients it shows up as an entry at the top of the day rather than blocking out the whole day with an event.
I have a bit of code that looks like this...
cal.event do
dtstart DateTime.parse("#{startDate.year()}-#{startDate.month()}-#{startDate.day()}")
dtend
2010 Nov 04
0
namespace problem with iCalendar
i''m developing a calendar webapp for my company using ruby 1.8.7 and
rails 2.3.8.
naturally there are RoR models named "Calendar" and "Event"
in order to send calendar events to other apps (microsoft outlook &
lotus notes) i''m integrating with the iCalendar standard & ruby
library. but this library contains classes called "Calendar" and
2009 Jun 30
0
ri_cal 0.7.0 Released
Subject: [ANN] ri_cal 0.7.0 Released
ri_cal version 0.7.0 has been released!
* <http://ri-cal.rubyforge.org/>
* <by Rick DeNatale>
A new Ruby implementation of RFC2445 iCalendar.
The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide
for parsing and generating icalendar files,
but do not support important things like enumerating occurrences of
repeating events.
This
2006 Jun 28
2
webcal url
Hi
I''d like to create a webcal link to share a calendar with iCal like
it''s done in Basecamp for example.
I know how to create the file using icalendar ruby library and iCal
can open it, but if I send this file using an url like webcal://
localhost:3000/ical/1151495837
iCal says that data are not valid.
Any ideas?
Thanks.
PS here is my rb code
def ical_data
cal
2014 May 15
1
Asterisk 1.8 and calendar intergration
Hi
I'm using asterisk 1.8.25.0 on CentOS 6.
I have compiled it with all the calendar modules:
*CLI> module show like calendar
Module Description Use
Count
res_calendar.so Asterisk Calendar integration 4
res_calendar_ews.so Asterisk MS Exchange Web Service Calenda 0
res_calendar_caldav.so
2010 Jan 11
1
interfacing R with RFC2445
R Developers,
I cannot seem to find an R package that can read/write iCalendar (RFC2445) files.
I have found the libical library at sourceforge. I've used it briefly so it may be what I need, but again no R interface. I may have to connect the dots myself.
I'm guessing this might be useful for someone other than myself (scrubbing files, performing temporal analysis on events, etc).
2015 Oct 27
2
Calendar integration : Could not authenticate to server: rejected Basic challenge
Hello
I have changed type 'caldav' to 'ical', but still no succes :
[Oct 27 10:30:38] WARNING[23388]: res_calendar_icalendar.c:117
auth_credentials: Invalid username or password for iCalendar 'cal1'
[Oct 27 10:30:38] WARNING[23388]: res_calendar_icalendar.c:150
fetch_icalendar: Unable to retrieve iCalendar 'cal1' from