Skip to content

Commit

Permalink
Use date() instead of current_time() as there is a loading issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-vara committed Dec 5, 2024
1 parent ec6e826 commit 01088a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01088a5

Please sign in to comment.