Skip to content
Snippets Groups Projects
Verified Commit 78bab06f authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

feat: use consistent WordPress timezone for log statements

parent b61200e5
No related branches found
No related tags found
1 merge request!29feat/message handling
......@@ -35,7 +35,8 @@ final class SimpleLoggerFactory implements LoggerFactory {
$this->logger = new Logger(
$this->channel,
[],
[ new PsrLogMessageProcessor( null, true ), new UidProcessor() ]
[ new PsrLogMessageProcessor( null, true ), new UidProcessor() ],
wp_timezone()
);
if ( $this->options->use_wc_log ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment