diff options
author | Kirill Bulatov <[email protected]> | 2021-04-26 15:12:07 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-04-26 15:12:13 +0100 |
commit | c24bdab97e53943fd36cf4e63047785b9c08077b (patch) | |
tree | 485371c10449f0da91f2170a9ae904cca678f60d /crates | |
parent | eee50b6921662dee766c987e1a0b15b371e141d1 (diff) |
Use -u instead of --utc date flag
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/build.rs b/crates/rust-analyzer/build.rs index 780d247c9..bca6611d6 100644 --- a/crates/rust-analyzer/build.rs +++ b/crates/rust-analyzer/build.rs | |||
@@ -55,7 +55,7 @@ fn commit_hash() -> Option<String> { | |||
55 | } | 55 | } |
56 | 56 | ||
57 | fn build_date() -> Option<String> { | 57 | fn build_date() -> Option<String> { |
58 | output_to_string("date --utc +%Y-%m-%d") | 58 | output_to_string("date -u +%Y-%m-%d") |
59 | } | 59 | } |
60 | 60 | ||
61 | fn output_to_string(command: &str) -> Option<String> { | 61 | fn output_to_string(command: &str) -> Option<String> { |