mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Switch to DateTimeImmutable everywhere
This commit is contained in:
@@ -85,7 +85,7 @@ class NormalizerFormatter implements FormatterInterface
|
||||
return $normalized;
|
||||
}
|
||||
|
||||
if ($data instanceof \DateTime) {
|
||||
if ($data instanceof \DateTimeInterface) {
|
||||
return $data->format($this->dateFormat);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user