Displaying 1 result from an estimated 1 matches for "original_set_date_or_datetim".
Did you mean:
original_set_date_or_datetime
2007 Feb 07
2
How to set TZID in DTSTART?
...te the structure of the code yet. So even the
patch works in my setting, it could screw things.
I am grateful for any hints and pointers for an official way of
adding the TZID parameter to date/time fields.
Andreas
--- i''m a monkeeey ---
module Vpim::Icalendar::Set::Util
alias :original_set_date_or_datetime :set_date_or_datetime
def set_date_or_datetime(name, default, value, params = {})
props = original_set_date_or_datetime(name, default, value)
params.each { |k,v| props.field(name)[k] = v }
props
end
end
module Vpim::Icalendar::Set::Common
def dtstart(start, params = {})...