`date` command on OS X doesn't have ISO 8601 `-I` option?

后端 未结 9 1585

In a Bash script, I want to print the current datetime in ISO 8601 format (preferably UTC), and it seems that this should be as simple as date -I:

http://ss

9条回答
  •  终归单人心
    2021-01-29 20:02

    There's a precompiled coreutils package for Mac OS X available at:

    http://rudix.org/packages-abc.html#coreutils.

提交回复
热议问题