diff --git a/bin/domain/imag-diary/src/create.rs b/bin/domain/imag-diary/src/create.rs index e86ada02..ad85f561 100644 --- a/bin/domain/imag-diary/src/create.rs +++ b/bin/domain/imag-diary/src/create.rs @@ -109,6 +109,8 @@ fn create_id_from_clispec(create: &ArgMatches, diaryname: &str, timed_type: Time Timed::Hourly => { debug!("Creating hourly-timed entry"); get_hourly_id(create) + .with_minute(0) + .with_second(0) }, Timed::Minutely => { @@ -124,6 +126,7 @@ fn create_id_from_clispec(create: &ArgMatches, diaryname: &str, timed_type: Time .unwrap_or(time.minute()); time.with_minute(min) + .with_second(0) }, Timed::Secondly => {