fix: add date to the version string on Mac

It doesn't support `--iso`
This commit is contained in:
Aleksey Kladov 2021-04-26 15:20:15 +03:00
parent 869ec5f97a
commit 4f9640ff39
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ fn run_fuzzer() -> Result<()> {
}
fn date_iso() -> Result<String> {
let res = cmd!("date --iso --utc").read()?;
let res = cmd!("date --utc +%Y-%m-%d").read()?;
Ok(res)
}