Print date in same formaat as wiki-meta-cache for copy/pasting

This commit is contained in:
mtkennerly 2024-09-21 21:35:14 -04:00
parent f261a32454
commit 0cf8787f0d
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408

View file

@ -108,7 +108,11 @@ impl WikiCache {
let start = meta.last_checked_recent_changes - chrono::Duration::minutes(1);
let end = chrono::Utc::now();
println!("Getting recent changes from {} to {}", start, end);
println!(
"Getting recent changes from {} to {}",
start.to_rfc3339_opts(chrono::SecondsFormat::Micros, true),
end.to_rfc3339_opts(chrono::SecondsFormat::Micros, true),
);
let wiki = make_client().await?;
let params = wiki.params_into(&[