fix raw discovery data timestamp to use user's timezone

This commit is contained in:
Graham McIntire 2026-02-11 12:41:31 -06:00
parent 1a31fd00b6
commit d36fcbe628
No known key found for this signature in database

View file

@ -1865,7 +1865,7 @@
<p>
Raw SNMP OID values collected during the last discovery run at
<%= if @snmp_device.last_discovery_at do %>
{Calendar.strftime(@snmp_device.last_discovery_at, "%Y-%m-%d %H:%M:%S UTC")}
{ToweropsWeb.TimeHelpers.format_iso8601(@snmp_device.last_discovery_at, @timezone)}
<% else %>
unknown time
<% end %>.