container.training
container.training copied to clipboard
support two-day events on front page
https://github.com/jpetazzo/container.training/commit/a2531a0c632c6619a60b93615223939a1d03838d
If we edit the site on day 1 of a 2-day event (possibly after UTC has switched to the next day) the two-day events are no longer on the front page.
I think I'm going to add support for the date field to be a 2-element array, and when it is, then it'll be interpreted as begin/end.
Or do we want a N-element array for stuff that spans/repeats multiple days/times?
Thoughts?
hmm, you're the one who runs multi-day events - do you think you'll ever have events that aren't over a date range but instead are on non-consecutive days?
Non-consecutive things do happen; e.g. I can do a two-day training Monday-Tuesday, and a repeat of the same thing on Thursday-Friday.
(Internal mulling over)
I think I'll go with a 2-element array, that's simple enough. And there are very few cases anyway, so even if I/we need something else later, it'll be easy enough to change the YAML file.
Thanks for finding that bug in any case! Without you I wouldn't have thought about this.