Skip to content

Commit c8b26ee

Browse files
committed
Fix pushlog filename format
1 parent 0536c87 commit c8b26ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pushlog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub(crate) async fn pushlog_impl(
8484
};
8585
let local_latest_entry_msec = local_latest_entries.first().map_or(0, |entry| entry.epoch_msec);
8686

87-
let journal_file_path = local_journal_path.join(since.to_iso_string() + ".log2");
87+
let journal_file_path = local_journal_path.join(since.to_chrono_datetime().format("%Y-%m-%dT%H-%M-%S-%3f.log2").to_string());
8888
let journal_file = match tokio::fs::OpenOptions::new()
8989
.write(true)
9090
.append(true)

0 commit comments

Comments
 (0)