diff --git a/README.md b/README.md index 8e29bae..d1beece 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/main.rs b/src/main.rs index 5c8dc6f..c889afe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -133,10 +133,10 @@ fn convert_time(dt: icalendar::DatePerhapsTime) -> Result { icalendar::CalendarDateTime::WithTimezone{date_time, tzid: String::from(match tzid.as_str() { - "W. Europe Standard Time" => "Europe/London", "Turkey Standard Time" => "Europe/Istanbul", "India Standard Time" => "Asia/Kolkata", "Pacific Standard Time" => "America/Los Angeles", + "W. Europe Standard Time" => "Europe/Berlin", _ => &tzid })} },