alarms: handle missing last update

This commit is contained in:
Iain Learmonth 2022-04-20 15:56:09 +01:00
parent 45a6d27c8b
commit 0d4296c89c
2 changed files with 8 additions and 1 deletions

View file

@ -28,7 +28,7 @@
<td>{{ alarm.alarm_type }}</td>
<td>{{ alarm.alarm_state.name }}</td>
<td>{{ alarm.text }}</td>
<td>{{ alarm.last_updated.strftime("%a, %d %b %Y %H:%M:%S") }}</td>
<td>{{ alarm.last_updated | format_date }}</td>
</tr>
{% endfor %}
</tbody>