From b1a4b78a787702edfaed410cd46515af8d25af1b Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 13 Oct 2022 01:00:45 +0200 Subject: fix vote timestamps not using 24-hour format --- Vote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Vote.php') diff --git a/Vote.php b/Vote.php index 09f86b0..1a6a8c7 100644 --- a/Vote.php +++ b/Vote.php @@ -289,7 +289,7 @@ class SpecialInsertVote extends UnlistedSpecialPage { } $content = ContentHandler::getContentText($content); - $date = date('Y-m-d h:i'); + $date = date('Y-m-d H:i'); $username = str_replace(' ', '_', $this->getUser()->getName()); $comment = str_replace("\n", ' ', $comment); $newLine = "* $date $username: " . strtoupper($vote); -- cgit v1.2.3