Browse Source

ticker-update: fix zone of recurring events

master
Astro 4 months ago
parent
commit
483bc35e67
  1. 2
      ticker-update/src/main.rs

2
ticker-update/src/main.rs

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

Loading…
Cancel
Save