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

Add support for extended schedules #1

Open
@koluke

Description

@koluke

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]}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions