Ruby 2.3.1
Rails 5.0.2
IceCube 0.16.2
schedule = IceCube::Schedule.new(Time.now.in_time_zone(-6))
=> #<IceCube::Schedule:0x005592aed59940 @start_time=Fri, 23 Mar 2018 19:53:42 CST -06:00, @all_recurrence_rules=[], @all_exception_rules=[]>
> schedule.start_time
=> Fri, 23 Mar 2018 19:53:42 CST -06:00
> IceCube::Schedule.from_ical(schedule.to_ical).start_time
=> 2018-03-23 19:53:42 +0000
Notice it goes from 7:53 PM CST to 7:53 PM UTC - losing the accuracy of the time as well as dropping the time zone.
Ruby 2.3.1
Rails 5.0.2
IceCube 0.16.2
Notice it goes from
7:53 PM CSTto7:53 PM UTC- losing the accuracy of the time as well as dropping the time zone.