mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
keep recent format of date
just output a 'T' insted of the Timezone
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
$hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F");
|
||||
|
||||
foreach ($dns_queries as $query) {
|
||||
$time = exec("date --date='" . trim(substr($query, 0, 16)) . "' +'%Y-%m-%d\%Z%H:%M:%S'");
|
||||
$time = exec("date --date='" . trim(substr($query, 0, 16)) . "' +'%Y-%m-%dT%H:%M:%S'");
|
||||
$exploded = explode(" ", trim($query));
|
||||
$tmp = $exploded[count($exploded)-4];
|
||||
$status = "";
|
||||
|
||||
Reference in New Issue
Block a user