diff --git a/audio-logger/src/getters.rs b/audio-logger/src/getters.rs index 72b250c..e417977 100644 --- a/audio-logger/src/getters.rs +++ b/audio-logger/src/getters.rs @@ -97,7 +97,7 @@ pub fn get_wav_spec(default_config: &SupportedStreamConfig, user_config: &Stream pub fn get_date_time_string() -> String { let now: DateTime = Local::now(); format!( - "{}-{}-{}_{}:{}:{:02}", + "{:02}-{:02}-{:02}_{:02}:{:02}:{:02}", now.year(), now.month(), now.day(), now.hour(), now.minute(), now.second(), )