spec/support/custom_resolutions.rb in tabs-0.9.0 vs spec/support/custom_resolutions.rb in tabs-0.9.1

- old
+ new

@@ -20,9 +20,13 @@ def from_seconds(s) s / 1 end + def add(ts, num) + ts + num.seconds + end + def normalize(ts) Time.utc(ts.year, ts.month, ts.day, ts.hour, ts.min, ts.sec) end end