We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869ec5f commit 4f9640fCopy full SHA for 4f9640f
crates/rust-analyzer/build.rs
@@ -55,7 +55,7 @@ fn commit_hash() -> Option<String> {
55
}
56
57
fn build_date() -> Option<String> {
58
- output_to_string("date --iso --utc")
+ output_to_string("date --utc +%Y-%m-%d")
59
60
61
fn output_to_string(command: &str) -> Option<String> {
xtask/src/main.rs
@@ -108,7 +108,7 @@ fn run_fuzzer() -> Result<()> {
108
109
110
fn date_iso() -> Result<String> {
111
- let res = cmd!("date --iso --utc").read()?;
+ let res = cmd!("date --utc +%Y-%m-%d").read()?;
112
Ok(res)
113
114
0 commit comments