From 65549e3fa402796371dac353f54410477f60bde5 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 06a7655..87a8348 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; }