Compare commits

...

2 commits

Author SHA1 Message Date
a3b419214a
Update main.rs 2024-01-17 12:35:40 +01:00
67a0f71f80
Update README.md 2024-01-17 12:01:01 +01:00
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,8 @@ services:
ports: ports:
- "3000:3000" - "3000:3000"
restart: unless-stopped restart: unless-stopped
environment:
TZ: Europe/Berlin # your timezone!
``` ```
As you can see, you only have to forward port 3000 to wherever you like, in this case port 3000. As you can see, you only have to forward port 3000 to wherever you like, in this case port 3000.

View file

@ -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
})} })}
}, },