diff options
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r-- | cli/bench/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index 3bf73e78d..a16c65ed4 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -13,6 +13,8 @@ use std::process::Command; use std::process::Stdio; use std::time::SystemTime; +include!("../util/time.rs"); + mod http; mod lsp; @@ -436,8 +438,7 @@ async fn main() -> Result<()> { env::set_current_dir(test_util::root_path())?; let mut new_data = BenchResult { - created_at: chrono::Utc::now() - .to_rfc3339_opts(chrono::SecondsFormat::Secs, true), + created_at: utc_now().to_rfc3339_opts(chrono::SecondsFormat::Secs, true), sha1: test_util::run_collect( &["git", "rev-parse", "HEAD"], None, |