lib/timeframe.rb in timeframe-0.2.0 vs lib/timeframe.rb in timeframe-0.2.1
- old
+ new
@@ -276,13 +276,9 @@
# Returns the same Timeframe, only a year earlier
def last_year
self.class.new((start_date - 1.year), (end_date - 1.year))
end
- def to_json(*)
- iso8601
- end
-
def as_json(*)
iso8601
end
# An ISO 8601 "time interval" like YYYY-MM-DD/YYYY-MM-DD