lib/nagiosharder.rb in nagiosharder-0.2.1 vs lib/nagiosharder.rb in nagiosharder-0.2.2
- old
+ new
@@ -270,10 +270,10 @@
"%Y-%m-%d %H:%M:%S"
end
end
def formatted_time_for(time)
- time.strftime(time_format)
+ time.strftime(nagios_time_format)
end
def parse_status_html(response)
doc = Nokogiri::HTML(response)
rows = doc.css('table.status > tr')