From c01e3a723883fc148c7e6052ddf4f6b42ff41e14 Mon Sep 17 00:00:00 2001 From: scarf Date: Sun, 28 May 2023 13:35:45 +0900 Subject: [PATCH] test: explicitly set `LANG` in gnu `date` --- tests/dateutils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/dateutils.rs b/tests/dateutils.rs index fb1e3e47a7..870e39298f 100644 --- a/tests/dateutils.rs +++ b/tests/dateutils.rs @@ -98,6 +98,7 @@ fn verify_against_date_command_format_local(path: &'static str, dt: NaiveDateTim // Z%Z - too many ways to represent it, will most likely fail let output = process::Command::new(path) + .env("LANG", "c") .arg("-d") .arg(format!( "{}-{:02}-{:02} {:02}:{:02}:{:02}",