Fix teleporter to use the 24-hour format.

Split from #1305

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
V@no
2020-05-17 16:35:04 +03:00
committed by XhmikosR
parent 0b2ae59e95
commit 70d2b62382

View File

@@ -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);