voc / voctosched

Tools for generating and manipulating frab-style fahrplan
GNU General Public License v3.0
1 stars 12 forks source link

Add support for importing Indico Event JSONs #45

Open DragoonAethis opened 3 years ago

DragoonAethis commented 3 years ago

Adds a new ImportHandler which handles Indico Event exports (with the "detail" export var set to "contributions"), along with a full example with real data from XDC 2021.

Also makes datetime parsers a bit more universal and able to deal with 3-part timestamps (HH:MM or HH:MM:SS).

Unfortunately, there's one new dependency - pytz. Indico returns all dates with a specific timezone set and the exported JSON may contain non-UTC datetimes.