mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
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. |
||
|---|---|---|
| .. | ||
| loop | ||
| loopd | ||