We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0536c87 + c8b26ee commit 0a4c3d7Copy full SHA for 0a4c3d7
1 file changed
src/pushlog.rs
@@ -84,7 +84,7 @@ pub(crate) async fn pushlog_impl(
84
};
85
let local_latest_entry_msec = local_latest_entries.first().map_or(0, |entry| entry.epoch_msec);
86
87
- let journal_file_path = local_journal_path.join(since.to_iso_string() + ".log2");
+ let journal_file_path = local_journal_path.join(since.to_chrono_datetime().format("%Y-%m-%dT%H-%M-%S-%3f.log2").to_string());
88
let journal_file = match tokio::fs::OpenOptions::new()
89
.write(true)
90
.append(true)
0 commit comments