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