lib/extensions/time.rb in rcap-1.2.2 vs lib/extensions/time.rb in rcap-1.2.3
- old
+ new
@@ -7,8 +7,8 @@
t.sub(/\+(00:\d\d)$/, '-\1')
end
private
def utc_hours_offset
- self.utc_offset/3600
+ self.localtime.utc_offset/3600
end
end