lib/greenwich/conversion.rb in greenwich-2.0.2 vs lib/greenwich/conversion.rb in greenwich-2.0.3
- old
+ new
@@ -13,10 +13,10 @@
end
define_method "#{time_field}_utc=" do |value|
greenwich_time_fields_converted["#{time_field}_utc"] = true
- super(value)
+ write_attribute("#{time_field}_utc", value)
end
define_method time_field do
time_zone = Greenwich::Utilities.get_time_zone(self, time_zone_field)
time = send(utc_time_field)