From 6a32119c8a7beecd9e5f6044f9e568a2d83565c5 Mon Sep 17 00:00:00 2001 From: flashwave Date: Tue, 18 Jul 2023 23:19:19 +0000 Subject: [PATCH] Fixed whatever the date formatter was smoking. --- src/TwigMisuzu.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TwigMisuzu.php b/src/TwigMisuzu.php index 06a7655b..87a83481 100644 --- a/src/TwigMisuzu.php +++ b/src/TwigMisuzu.php @@ -71,7 +71,8 @@ final class TwigMisuzu extends AbstractExtension { $string .= ', '; } - $string .= $dateTime->format('G:i T'); + $string .= $dateTime->format('G:i '); + $string .= $dateTime->isUTC() ? 'UTC' : $dateTime->format('T'); return $string; }