cargo fmt
This commit is contained in:
parent
0140fa5efe
commit
f85649dadd
@ -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") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user