Bugfix: Undefined property: MailSo\Log\Drivers\File::$DateTimeZone

Found in issues #49
This commit is contained in:
djmaze 2020-12-30 15:13:56 +01:00
parent e234a5864c
commit 76cf24f426

View file

@ -191,7 +191,7 @@ abstract class Driver
protected function getTimeWithMicroSec() : string protected function getTimeWithMicroSec() : string
{ {
return \substr((new \DateTime('now', $this->DateTimeZone))->format('Y-m-d H:i:s.u'), 0, -3); return \substr((new \DateTime('now', $this->oTimeZone))->format('Y-m-d H:i:s.u'), 0, -3);
} }
protected function getTypedPrefix(int $iType, string $sName = '') : string protected function getTypedPrefix(int $iType, string $sName = '') : string