diff options
author | Aleksey Kladov <[email protected]> | 2021-04-26 13:20:15 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-04-26 13:20:15 +0100 |
commit | 4f9640ff39f95231f7d265c2c25a05c3f687b6a3 (patch) | |
tree | 1cae58ae26f5f0d4e8b2fc260edf8222b1a1c1cb /xtask | |
parent | 869ec5f97ace736fdbf765d143c9634fd1b558ef (diff) |
fix: add date to the version string on Mac
It doesn't support `--iso`
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<()> { | |||
108 | } | 108 | } |
109 | 109 | ||
110 | fn date_iso() -> Result<String> { | 110 | fn date_iso() -> Result<String> { |
111 | let res = cmd!("date --iso --utc").read()?; | 111 | let res = cmd!("date --utc +%Y-%m-%d").read()?; |
112 | Ok(res) | 112 | Ok(res) |
113 | } | 113 | } |
114 | 114 | ||