From caa3c80de48a703e34b72221b97f498ad6493cb9 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 27 Oct 2022 17:09:02 +0100 Subject: [PATCH] Use Y-m-d H:i:s for default 'posted' date --- core/imageboard/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard/image.php b/core/imageboard/image.php index f2fb0961..a18c62a3 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -369,7 +369,7 @@ class Image $cut_name = substr($this->filename, 0, 255); if (is_null($this->posted) || $this->posted == "") { - $this->posted = date('c', time()); + $this->posted = date('Y-m-d H:i:s', time()); } if (is_null($this->id)) {