Try adding timezone awareness
This commit is contained in:
@@ -75,6 +75,7 @@ impl AppState {
|
||||
#[cfg(test)]
|
||||
fn create_test_subdir(base_path: &std::path::Path, name: &str) -> std::path::PathBuf {
|
||||
let dir_path = base_path.join(name);
|
||||
std::fs::create_dir_all(&dir_path).unwrap_or_else(|_| panic!("Failed to create {} directory", name));
|
||||
std::fs::create_dir_all(&dir_path)
|
||||
.unwrap_or_else(|_| panic!("Failed to create {} directory", name));
|
||||
dir_path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user