sapmentors / SITregOrganizer

SAP Event Registration - Front end for Organizers
Apache License 2.0
3 stars 4 forks source link

Event start and end time #6

Closed jpenninkhof closed 8 years ago

jpenninkhof commented 8 years ago

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 commented 8 years ago

Moved to Sitreg project