mirror of
https://github.com/jhbruhn/ics-adapter.git
synced 2025-03-15 03:25:49 +00:00
Update main.rs
This commit is contained in:
parent
67a0f71f80
commit
a3b419214a
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ fn convert_time(dt: icalendar::DatePerhapsTime) -> Result<chrono::DateTime<chron
|
||||||
let cdt = match cdt {
|
let cdt = match cdt {
|
||||||
icalendar::CalendarDateTime::WithTimezone{date_time, tzid} => {
|
icalendar::CalendarDateTime::WithTimezone{date_time, tzid} => {
|
||||||
icalendar::CalendarDateTime::WithTimezone{date_time, tzid: String::from(match tzid.as_str() {
|
icalendar::CalendarDateTime::WithTimezone{date_time, tzid: String::from(match tzid.as_str() {
|
||||||
"W. Europe Standard Time" => "Europe/London",
|
"W. Europe Standard Time" => "Europe/Berlin",
|
||||||
_ => &tzid
|
_ => &tzid
|
||||||
})}
|
})}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue