Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Add support for extended schedules #1

Open
koluke opened this issue Jul 28, 2014 · 0 comments
Open

Add support for extended schedules #1

koluke opened this issue Jul 28, 2014 · 0 comments

Comments

@koluke
Copy link
Member

koluke commented Jul 28, 2014

When getting schedule data for an extended schedule day, ioschedjs will return "Basic" instead of the corresponding extended schedule.

For example, navigating to http://server:3000/2015-04-17(an extended schedule) will yield the following:

{"date":"2015-04-17","cycle":3,"scheduleName":"Basic","periodTimes":[{"start":[7,50],"end":[8,34]},{"start":[8,39],"end":[9,23]},{"start":[9,28],"end":[10,12]},{"start":[10,17],"end":[11,1]},{"start":[11,6],"end":[11,50]},{"start":[12,38],"end":[13,22]},{"start":[13,27],"end":[14,11]},{"start":[14,16],"end":[15,0]}],"cyclePeriods":[3,4,7,8,5,6,1,2]}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant