cargo fmt

This commit is contained in:
Bill Thiede 2025-08-21 17:09:57 -07:00
parent 0140fa5efe
commit f85649dadd

View File

@ -1838,7 +1838,6 @@ pub fn render_ical_summary(ical_data: &str) -> Result<String, ServerError> {
Ok(summary_parts.join("<hr>"))
}
fn parse_ical_datetime_tz(dt: &str, tz: Tz) -> Option<chrono::DateTime<Tz>> {
let dt = dt.split(':').last().unwrap_or(dt);
if let Ok(ndt) = chrono::NaiveDateTime::parse_from_str(dt, "%Y%m%dT%H%M%SZ") {