voc / schedule

http://c3voc.de/wiki/schedule
14 stars 18 forks source link

Mark "start" and "end" attributes in "day" node as mandatory. #89

Closed johnjohndoe closed 3 years ago

johnjohndoe commented 3 years ago

Resolves #87.

a-tze commented 3 years ago

@johnjohndoe Isnt it possible to default start to "date at midnight" and end to "date + 1 day at midnight" ?

I'm tempted to approve, but I am really unsure if this will break other things or schedules.

johnjohndoe commented 3 years ago

Isnt it possible to default start to "date at midnight" and end to "date + 1 day at midnight" ?

I believe this would be technical possible. From what I observed the date range usually is minimized to:

Please mind that the latest session can be after midnight, e.g. a DJ session at 2am till 3am.

a-tze commented 3 years ago

@johnjohndoe

So could the App determine this when ingesting the schedule?

johnjohndoe commented 3 years ago

Probably. I never tried. At this point the app trusts the XML provided by the backend.