From 70d2b62382918e22cfe385dbc60fbaf5dfdc6037 Mon Sep 17 00:00:00 2001 From: "V@no" Date: Sun, 17 May 2020 16:35:04 +0300 Subject: [PATCH] Fix teleporter to use the 24-hour format. Split from #1305 Signed-off-by: XhmikosR --- scripts/pi-hole/php/teleporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/teleporter.php b/scripts/pi-hole/php/teleporter.php index 5c75580a..bbe17e68 100644 --- a/scripts/pi-hole/php/teleporter.php +++ b/scripts/pi-hole/php/teleporter.php @@ -540,7 +540,7 @@ if(isset($_POST["action"])) } else { - $tarname = "pi-hole-teleporter_".date("Y-m-d_h-i-s").".tar"; + $tarname = "pi-hole-teleporter_".date("Y-m-d_H-i-s").".tar"; $filename = $tarname.".gz"; $archive_file_name = sys_get_temp_dir() ."/". $tarname; $archive = new PharData($archive_file_name);