forked from rubyredrick/ri_cal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ZuluDateTime property for use by change management properties
- Loading branch information
1 parent
8f4946b
commit 77aa811
Showing
4 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
require 'date' | ||
module RiCal | ||
class PropertyValue | ||
#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license | ||
# | ||
# RiCal::PropertyValue::CalAddress represents an icalendar CalAddress property value | ||
# which is defined in RFC 2445 section 4.3.5 pp 35-37 | ||
class ZuluDateTime < PropertyValue::DateTime | ||
|
||
def value=(val) # :nodoc: | ||
super | ||
@date_time_value = @date_time_value.utc if @date_time_value | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters