aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-04-26 15:12:07 +0100
committerKirill Bulatov <[email protected]>2021-04-26 15:12:13 +0100
commitc24bdab97e53943fd36cf4e63047785b9c08077b (patch)
tree485371c10449f0da91f2170a9ae904cca678f60d /crates
parenteee50b6921662dee766c987e1a0b15b371e141d1 (diff)
Use -u instead of --utc date flag
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/build.rs2
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
57fn build_date() -> Option<String> { 57fn 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
61fn output_to_string(command: &str) -> Option<String> { 61fn output_to_string(command: &str) -> Option<String> {