From: K R Subject: Re: ts(1): ISO 8601 format support To: K R , tech@openbsd.org Date: Fri, 28 Jun 2024 12:52:49 -0300 Hi Stuart, On Fri, Jun 28, 2024 at 12:03 PM Stuart Henderson wrote: > > On 2024/06/28 11:41, K R wrote: > > Hi, > > > > The attached diff adds ISO 8601 timestamps to ts(1): > > > > vm$ echo logline | ./obj/ts -Z > > 2024-06-28T14:02:32Z logline > > Doesn't seem really necessary, ts %FT%TZ does the same, and is then You are right, but then UTC has to be set explicitly: $ echo 'logline' | env TZ=UTC ts %FT%TZ 2024-06-28T15:49:29Z logline Best, --Kor > compatible with the original ts implementation in moreutils. >