From cadee7a8abf87ecd30d675936ad83b704ce4be3f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 13 Jan 2024 18:25:54 +0200 Subject: chore: update dependency versions Signed-off-by: Lars Wirzenius Sponsored-by: author --- src/journal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/journal.rs b/src/journal.rs index ee239de..a0d7cda 100644 --- a/src/journal.rs +++ b/src/journal.rs @@ -178,7 +178,7 @@ impl Journal { .map_err(|err| JournalError::CreateDirectory(entries.to_path_buf(), err))?; } - let subdir = entries.join(Local::today().format("%Y/%m/%d").to_string()); + let subdir = entries.join(Local::now().format("%Y/%m/%d").to_string()); std::fs::create_dir_all(&subdir) .map_err(|err| JournalError::CreateDirectory(entries.to_path_buf(), err))?; -- cgit v1.2.1