lib/demometer/views/measurement.erb in barometer-0.5.0 vs lib/demometer/views/measurement.erb in barometer-0.6.1
- old
+ new
@@ -4,10 +4,11 @@
<%= data("Measured At", measurement.measured_at) %>
<%= data("Source", measurement.source) %>
<%= data("Time Stamp", measurement.utc_time_stamp) %>
<%= data("Metric", measurement.metric?) %>
<%= data("Success", measurement.success?) %>
+ <%= data("Service Time", "#{(measurement.end_at - measurement.start_at)} s") %>
</ul>
<ul>- Modified Query -
<%= data("Query", measurement.query) %>
<%= data("Format", measurement.format) %>
</ul>
@@ -52,12 +53,14 @@
<% if measurement.timezone %>
<h3>Timezone</h3>
<p>
<ul>
- <%= data("Long", measurement.timezone.timezone) %>
+ <%= data("Long", measurement.timezone.full) %>
<%= data("Code", measurement.timezone.code) %>
<%= data("DST?", measurement.timezone.dst?) %>
+ <%= data("Now", measurement.timezone.now(true)) %>
+ <%= data("Today", measurement.timezone.today) %>
</ul>
</p>
<% end %>
<% if measurement.current %>