[Toybox] [PATCH] date: some fixes.

Rob Landley rob at landley.net
Fri Feb 8 09:25:52 PST 2019


On 2/7/19 9:08 PM, enh via Toybox wrote:
> Add support for more input formats, primarily the ISO formats used by
> the AOSP build.

Ok.

> Also, our interpretation of @UNIXTIME was wrong: surprisingly, it should
> respect $TZ.

That's _insane_.

Does "date +%s" also adjust for $TZ? If so, it's NOT UNIXTIME. If it does, "date
@$(date +%s)" moves the clock by multiple hours...

Rob



More information about the Toybox mailing list