mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Avoid 1970 date if list was never updated.
This commit is contained in:
@@ -86,7 +86,7 @@ function format(data) {
|
||||
" (" +
|
||||
utils.datetime(data.date_modified, false) +
|
||||
')</td></tr><tr class="dataTables-child"><td>The list contents were last updated </td><td>' +
|
||||
(data.date_updated !== null
|
||||
(data.date_updated > 0
|
||||
? utils.datetimeRelative(data.date_updated) +
|
||||
" (" +
|
||||
utils.datetime(data.date_updated) +
|
||||
|
||||
Reference in New Issue
Block a user