Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1.4, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.5, 7.2.4, 7.1.6, 7.2.3, 7.2.5
-
Untriaged
-
0
-
Yes
Description
When the input to STR_TO_TZ has 'Z' as the time zone, the output uses an hour-only format.
e.g. STR_TO_TZ("2024-01-01T00:00:00Z", "America/Los_Angeles") -> "2023-12-31T16:00:00-08"
In version 6 and version 7.6+ the output is "2023-12-31T16:00:00-08:00".
This affects comparisons as the strings differ.