lib/vnstat/result/hour.rb in vnstat-ruby-1.0.2 vs lib/vnstat/result/hour.rb in vnstat-ruby-1.0.3
- old
+ new
@@ -47,10 +47,10 @@
##
# The time the result was captured.
#
# @return [DateTime]
def time
- DateTime.new(year, month, day, hour)
+ DateTime.new(year, month, day, hour, 0, DateTime.now.offset)
end
end
end
end