Skip to content

Commit

Permalink
test: explicitly set LANG in gnu date
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 authored and djc committed May 28, 2023
1 parent 656c941 commit c01e3a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/dateutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit c01e3a7

Please sign in to comment.