The Amsterdam Hackathon, many QA weekly goals and many other events last more than one day. How should this be reflected in the calendar?
Topic on Project talk:Calendar
The templates could be extended to support more date formats, including events spanning several days, and those happening at a specific time. I didn't implement all that in the first version of the templates because they were a proof of concept, and I didn't want to make them too complex. I do think it's feasible, though, and perhaps my opportunity to get into Lua :)
In the meantime... should we edit the date field with plain text e.g. "May 22-24" or create one event for each day?
The template doesn't support plain text as an entry format for dates, only formats supported by the {{#time:}}
parser function. So the only solution right now is one event for each day.
Silly question but... why do we need to use that time parser function? Is there any operation done with that data field as of today?
We need it to format times depending on the context. Project:Calendar and Template:New opportunities/Content display dates differently; the parser function allows us to use the same date input and display it differently on those pages. Since you haven't transitioned Template:New opportunities/Content to use the calendar, I guess the answer "as of today" is "no".
That said, if this is urgent to you, I can try to quickly hack support for events longer than a day in the template. It will be done without Lua, but it'll work, and we can transition to Lua later.
2-3 day events still look ok repeating days but the problem comes with the QA weekly activities...
Of course the best solution is to make the template support multiple day events, but if you are busy I'm fine having the same data format used in Calendar and New opportunities.
I've modified the templates, and {{event}} now supports "end dates". It's not perfect, but it should meet your needs. Basically, you just need to add an enddate
parameter to the event's entry, in the same format as the date
parameter, and it should show (example). If there isn't an end date, nothing should show. I'll update the documentation now.