From 01088a52c2d484dd1d76a590914adf478980b429 Mon Sep 17 00:00:00 2001 From: Vara Date: Thu, 5 Dec 2024 14:46:27 +0530 Subject: [PATCH] Use date() instead of current_time() as there is a loading issue --- includes/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Event.php b/includes/Event.php index 5855095..da0883e 100644 --- a/includes/Event.php +++ b/includes/Event.php @@ -60,7 +60,7 @@ public function __construct( $category = 'Admin', $key = '', $data = array() ) { global $title; // Event details - $this->created_at = current_time( 'mysql' ); + $this->created_at = date( 'Y-m-d H:i:s.u' ); $this->category = strtolower( $category ); $this->key = $key; $this->data = $data;