lib/spotdog/cli.rb in spotdog-0.2.0 vs lib/spotdog/cli.rb in spotdog-0.2.1

- old
+ new

@@ -29,18 +29,18 @@ @current_time ||= Time.now end def parse_start_time(options) if options[:last_minutes] - current_time + current_time - options[:last_minutes] * 60 else options[:start_time] ? Time.parse(options[:start_time]) : nil end end def parse_end_time(options) if options[:last_minutes] - current_time - options[:last_minutes] * 60 + current_time else options[:end_time] ? Time.parse(options[:end_time]) : nil end end end