SITreg icon indicating copy to clipboard operation
SITreg copied to clipboard

Event start and end time

Open jpenninkhof opened this issue 9 years ago • 0 comments

I think you should try to avoid splitting dates and times and get them together into one field. Looking at the odata service, these dates/times look really weird, e.g.:

<d:ID m:type="Edm.Int32">3</d:ID>
<d:Location m:type="Edm.String">Netherlands (Eindhoven)</d:Location>
<d:EventDate m:type="Edm.DateTime">2016-11-26T00:00:00.0000000</d:EventDate>
<d:StartTime m:type="Edm.DateTime">1970-01-01T09:00:00.0000000</d:StartTime>
<d:EndTime m:type="Edm.DateTime">1970-01-01T16:00:00.0000000</d:EndTime>
<d:MaxParticipants m:type="Edm.Int32">60</d:MaxParticipants>
<d:HomepageURL m:type="Edm.String">http://sitnl.nl</d:HomepageURL>

It would also be great if we could have a multi-day event, with an end-date that's different from the start-date. May I suggest to use a start- and end-date, e.g.:

<d:ID m:type="Edm.Int32">3</d:ID>
<d:Location m:type="Edm.String">Our awesome 2-day event</d:Location>
<d:StartTime m:type="Edm.DateTime">2016-11-26T09:00:00.0000000</d:StartTime>
<d:EndTime m:type="Edm.DateTime">2016-11-27T16:00:00.0000000</d:EndTime>
<d:MaxParticipants m:type="Edm.Int32">60</d:MaxParticipants>
<d:HomepageURL m:type="Edm.String">http://sitnl.nl</d:HomepageURL>

jpenninkhof avatar Sep 05 '16 13:09 jpenninkhof