diff options
Diffstat (limited to 'lib/chaos_calendar/README')
| -rw-r--r-- | lib/chaos_calendar/README | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/chaos_calendar/README b/lib/chaos_calendar/README new file mode 100644 index 00000000..90b54973 --- /dev/null +++ b/lib/chaos_calendar/README | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | install libical (/usr/ports/devel/libical) | ||
| 2 | run gen.sh in this directory | ||
| 3 | find ical_occurrences ruby extension in ./ | ||
| 4 | |||
| 5 | irb | ||
| 6 | >> require 'ical_occurrences' | ||
| 7 | occ_array = Ical_occurrences::occurrences( "20000101T230000", "20091231T230000", "FREQ=DAILY;COUNT=1200" ) | ||
| 8 | |||
| 9 | Be aware that the array is in UTC and will be converted to your local timezone before it is used. | ||
