mirror of
https://github.com/jhbruhn/ics-adapter.git
synced 2025-03-15 03:25:49 +00:00
Compare commits
2 commits
fd1a1eb8c2
...
a3b419214a
Author | SHA1 | Date | |
---|---|---|---|
a3b419214a | |||
67a0f71f80 |
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,8 @@ services:
|
|||
ports:
|
||||
- "3000:3000"
|
||||
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.
|
||||
|
|
|
@ -132,7 +132,7 @@ fn convert_time(dt: icalendar::DatePerhapsTime) -> Result<chrono::DateTime<chron
|
|||
let cdt = match cdt {
|
||||
icalendar::CalendarDateTime::WithTimezone{date_time, tzid} => {
|
||||
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
|
||||
})}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue