From 8c6b4dcf08268ed2971b06df40c733ba28448582 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 9 Apr 2009 20:11:38 +0200 Subject: Make chaos calendar gem --- lib/chaos_calendar/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/chaos_calendar/README') diff --git a/lib/chaos_calendar/README b/lib/chaos_calendar/README index 90b54973..9d999308 100644 --- a/lib/chaos_calendar/README +++ b/lib/chaos_calendar/README @@ -1,9 +1,9 @@ install libical (/usr/ports/devel/libical) run gen.sh in this directory -find ical_occurrences ruby extension in ./ +find chaos_calendar ruby extension in ./ irb ->> require 'ical_occurrences' -occ_array = Ical_occurrences::occurrences( "20000101T230000", "20091231T230000", "FREQ=DAILY;COUNT=1200" ) +>> require 'chaos_calendar' +occ_array = Chaos_calendar::occurrences( "20000101T230000", "20091231T230000", "FREQ=DAILY;COUNT=1200" ) Be aware that the array is in UTC and will be converted to your local timezone before it is used. -- cgit v1.3