From f7151f335c142c3cd133cf185daa7960b848539a Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Tue, 1 Aug 2023 23:21:51 +0000 Subject: [PATCH] hopefully time works --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 0b9fa72..9420d60 100644 --- a/index.php +++ b/index.php @@ -76,7 +76,7 @@ $myfile = fopen("posts.txt", "a") or die("Unable to open file! (a)"); if (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) { - fwrite($myfile, htmlspecialchars($_POST["signature"]) . " [UTC " . date("m/d/Y") . " " . /*date("h:i:sa") .*/ "] " . htmlspecialchars($_POST["body"]) . "
"); + fwrite($myfile, htmlspecialchars($_POST["signature"]) . " [UTC " . date("m/d/Y H:i") . "] " . htmlspecialchars($_POST["body"]) . "
"); } else { }