loop/cmd
Boris Nagaev baecbbfe4c
cmd/loop: normalize numeric replay time zones
Recorded session replay already normalizes timestamps before
comparing CLI output, but the time.String timestamp regex only
matched alphabetic zone names like UTC and EST. Some systems
render the same offset with a numeric zone name, for example
-0300 -03, which left the publication deadline unnormalized
and caused fixture comparisons to fail.

Match numeric zone names as well, and parse the timestamp using
the explicit numeric offset instead of the display zone name. Add a
regression test covering RFC3339, alphabetic time.String zones, and
numeric time.String zones.
2026-07-02 02:50:13 -05:00
..
loop cmd/loop: normalize numeric replay time zones 2026-07-02 02:50:13 -05:00
loopd cmd/loop: set exit code 1 on error 2020-06-11 21:00:24 +02:00