Mac で GNU date
Hugo で Markdown ファイル上に指定する日付が ISO 8601 形式なので、これを date コマンドで出力するには以下のようにする。 code:terminal
$ date --iso-8601=seconds
code:terminal
$ brew install coreutils
これで頭に g を付けてやると GNU date が使える。
code:terminal
$ gdate --iso-8601=seconds 2018-04-23T21:06:04+09:00