Files
mediamtx/internal
VJSaiandGitHub 384cc66114 fix(recordstore): decode timezone offset minutes correctly (#5884)
timeLocationDecode multiplied the minutes field of a %z token by 3600
instead of 60, and did not apply the sign to the minutes term. As a
result, any non-whole-hour timezone offset (e.g. +0530, +0545, +0330,
-0330) was decoded incorrectly: +0530 produced 126000s instead of
19800s.

This broke the round-trip between Path.Encode and Path.Decode for
fractional-hour timezones. The encode side already used off/60/60 and
(off/60)%60 correctly, so this change makes the two consistent.

Add round-trip test cases with fractional-hour offsets (+0530, +0545,
-0330) to cover the previously untested code path.
2026-06-20 11:21:54 +02:00
..
2026-03-17 17:22:15 +01:00
2026-03-17 17:22:15 +01:00
2026-04-26 16:33:14 +02:00
2026-06-15 19:02:39 +02:00