Download raw body.
ts(1): ISO 8601 format support
Hi Stuart, On Fri, Jun 28, 2024 at 12:03 PM Stuart Henderson <stu@spacehopper.org> 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. >
ts(1): ISO 8601 format support