lalapps_tconvert prints wrong timezone offset on macOS when using --rfc-2822
The lalapps_tconvert
executable prints the wrong timezone offset for --utc
in RFC-2822 mode when running on a mac that isn't locally on UTC. See the following example:
$ lalapps_tconvert --utc 1297164750
Fri Feb 12 11:32:12 UTC 2021
$ lalapps_tconvert --utc --rfc-2822 1297164750
Fri, 12 Feb 2021 11:32:12 -0800
On linux, you get the correct response:
$ lalapps_tconvert --utc --rfc-2822 1297164750
Fri, 12 Feb 2021 11:32:12 +0000