lib/ruote/log/storage_history.rb in ruote-2.1.9 vs lib/ruote/log/storage_history.rb in ruote-2.1.10
- old
+ new
@@ -60,9 +60,11 @@
#
def range
ids = @context.storage.ids('history')
+ #p ids.sort == ids
+
fm = DATE_REGEX.match(ids.first)[1]
lm = DATE_REGEX.match(ids.last)[1]
first = Time.parse("#{fm} 00:00:00 UTC")
last = Time.parse("#{lm} 00:00:00 UTC") + 24 * 3600