Skip to content
Clone

refactor(export): make fmt_ts public for cross-crate timestamp formatting reuse

zhenyi committed
parent 579d39a commit 21dc66f Browse files

1 file changed

+1 −1

Modified lib/export/repo/extras.rs View lib/export/repo/extras.rs
@@ -4,7 +4,7 @@
44use utoipa::{IntoParams, ToSchema};
55use uuid::Uuid;
66
7fn fmt_ts(ts: OffsetDateTime) -> String {
7pub fn fmt_ts(ts: OffsetDateTime) -> String {
88 ts.format(&Rfc3339).unwrap_or_default()
99}
1010