diff --git a/src/TimeZone.php b/src/TimeZone.php index d1f20fe..15fa587 100644 --- a/src/TimeZone.php +++ b/src/TimeZone.php @@ -21,6 +21,7 @@ abstract class TimeZone */ public static function parse(string $text) : TimeZone { + if ($text === 'Z' || $text === 'z') { return TimeZoneOffset::utc(); }