[Toybox] [PATCH] date: add --iso and the %:z output format.

Rob Landley rob at landley.net
Sun Nov 15 01:04:53 PST 2020


On 11/14/20 5:06 PM, enh via Toybox wrote:
> I didn't know until implementing this that --iso is actually called
> --iso-8601 and that GNU date will actually accept any prefix. --iso-8
> works fine too. I've assumed that --iso (that I always used) and
> --iso-8601 (as given in the documentation) are the only two that matter.
> ---

Please explain this line:

      strcpy(out+4, out+3);

Rob



More information about the Toybox mailing list