summaryrefslogtreecommitdiff
path: root/Vote.php
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-10-13 01:00:45 +0200
committerMartin Fischer <martin@push-f.com>2022-10-13 01:00:45 +0200
commitb1a4b78a787702edfaed410cd46515af8d25af1b (patch)
tree034baed88b18c83f811a103ba46b80341a74faf3 /Vote.php
parent111a497a08fd76dc6fa32e947de63b7379fd2126 (diff)
fix vote timestamps not using 24-hour format
Diffstat (limited to 'Vote.php')
-rw-r--r--Vote.php2
1 files changed, 1 insertions, 1 deletions
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);