mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
Firewall: Aliases - leave out fractional seconds from timestamps. closes https://github.com/opnsense/core/pull/6432
This commit is contained in:
parent
33ad50456a
commit
38dfe47258
@ -84,6 +84,12 @@
|
||||
}
|
||||
return html.join(' ');
|
||||
}
|
||||
},
|
||||
timestamp: function (column, row) {
|
||||
if (row[column.id] && row[column.id].includes('.')) {
|
||||
return row[column.id].split('.')[0];
|
||||
}
|
||||
return row[column.id];
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -614,7 +620,7 @@
|
||||
<th data-column-id="description" data-type="string">{{ lang._('Description') }}</th>
|
||||
<th data-column-id="content" data-type="string">{{ lang._('Content') }}</th>
|
||||
<th data-column-id="current_items" data-type="string">{{ lang._('Loaded#') }}</th>
|
||||
<th data-column-id="last_updated" data-type="string">{{ lang._('Last updated') }}</th>
|
||||
<th data-column-id="last_updated" data-formatter="timestamp" data-type="string">{{ lang._('Last updated') }}</th>
|
||||
<th data-column-id="commands" data-width="7em" data-formatter="commands" data-sortable="false">{{ lang._('Commands') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user