From 4f9640ff39f95231f7d265c2c25a05c3f687b6a3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 26 Apr 2021 15:20:15 +0300 Subject: fix: add date to the version string on Mac It doesn't support `--iso` --- xtask/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src') diff --git a/xtask/src/main.rs b/xtask/src/main.rs index e0e620c76..01bf6e70d 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -108,7 +108,7 @@ fn run_fuzzer() -> Result<()> { } fn date_iso() -> Result { - let res = cmd!("date --iso --utc").read()?; + let res = cmd!("date --utc +%Y-%m-%d").read()?; Ok(res) } -- cgit v1.2.3