Browse Source

ticker-update: fix zone of recurring events

master
Astro 1 month ago
parent
commit
483bc35e67
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ticker-update/src/main.rs

+ 1
- 1
ticker-update/src/main.rs View File

@@ -71,7 +71,7 @@ fn obj_to_events(calendar: String, obj: &Object) -> Vec<Event> {
71 71
             rrule.into_iter()
72 72
                 .skip_while(|d| *d < start)
73 73
                 .take_while(|d| *d <= end)
74
-                .map(|dtstart| dtstart.naive_utc())
74
+                .map(|dtstart| dtstart.naive_local())
75 75
                 .map(|dtstart| generate_event(dtstart, true))
76 76
                 .collect()
77 77
         }

Loading…
Cancel
Save