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

Addition of Start/End time for each block #7

Open
Veldrovive opened this issue Dec 23, 2017 · 0 comments
Open

Addition of Start/End time for each block #7

Veldrovive opened this issue Dec 23, 2017 · 0 comments
Assignees

Comments

@Veldrovive
Copy link
Contributor

In order to dynamically update timers, it would be useful to have a field in the schedule endpoint that gives start and end times for each block. Just returning timestamps like it has in the picture would be fine, but it would be best to return a formatted date object whether that is in a string or a number of seconds or milliseconds in order to reduce complication on the front end.
screen shot 2017-12-22 at 10 57 10 pm
For formatting, a possibility would be
"blockTimes": [{"block": "A", "start": "1514001963005", "end": "1514001979926"},...]
This would allow for easy access to both the block letter and timing information as well as opening possibilities for additional fields to be added to each block without breaking existing applications.

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