Skip to content

Commit

Permalink
reports dir: don't use path with space
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Oct 20, 2023
1 parent 26a64ca commit 130f350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static REPORTS_DIR: Lazy<PathBuf> = Lazy::new(|| {
let reports_dir = system_temp_dir.join("icemaker_reports");
// ':' in paths may not work under windows, yolo!
let date = chrono::offset::Local::now()
.format("%Y-%m-%d %H:%M:%S")
.format("%Y-%m-%d_%H:%M:%S")
.to_string();
reports_dir.join(date)
});
Expand Down

0 comments on commit 130f350

Please sign in to comment.