lib/flapjack/gateways/email/alert.html.erb in flapjack-0.7.29 vs lib/flapjack/gateways/email/alert.html.erb in flapjack-0.7.30
- old
+ new
@@ -52,10 +52,10 @@
<% end %>
<% if @alert.state_duration && @alert.state_duration > 40 %>
<tr>
<td><strong>Duration</strong></td>
- <td><%= ChronicDuration.output(@alert.state_duration) %></td>
+ <td><%= ChronicDuration.output(@alert.state_duration, :keep_zero => true) || '0 secs' %></td>
</tr>
<% end %>
<% if @alert.last_state %>
<tr>