Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event start and end time #21

Open
jpenninkhof opened this issue Sep 5, 2016 · 0 comments
Open

Event start and end time #21

jpenninkhof opened this issue Sep 5, 2016 · 0 comments

Comments

@jpenninkhof
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants