Class: Time
Instance Method Summary (collapse)
-
- (Object) to_ical
Returns strftime('%Y%m%dT%H%M%S'), with 'Z' appended if utc? returns true.
Instance Method Details
- (Object) to_ical
Returns strftime('%Y%m%dT%H%M%S'), with 'Z' appended if utc? returns true.
57 58 59 60 61 |
# File 'lib/rcal/util/to_ical.rb', line 57 def to_ical result = strftime('%Y%m%dT%H%M%S') result << 'Z' if utc? result end |