lib/backup/timestamp.rb in encbs-0.2.1.beta2 vs lib/backup/timestamp.rb in encbs-0.2.1

- old
+ new

@@ -14,10 +14,10 @@ hour = 23 if hour.nil? min = 59 if min.nil? sec = 59 if sec.nil? end - time = Time.new(year + 2000, month, day, hour, min, sec, 0) + time = Time.utc(year + 2000, month, day, hour, min, sec, 0) end def self.last_from(list, end_date, start_date = nil) list.sort.reverse.find do |version| version = Backup::Timestamp.parse_timestamp version