Skip to content

Add support for an array of timeslots? #27

Open
@Unclearogre

Description

@Unclearogre

My son's school has different schedules on different days. Some days they only have 3-4 classes while others they have all the classes (for shorter periods). And some days are longer than others.

It would be great if it could be set up something like this:

timeslots: {
mon: [ "8:00", "10:00", "12:00", "14:00", "16:00" ],
tue: [ "8:00", "9:00", "10:00", "11:00", "12:00", "13:00", "14:00" ],
wed: [ "8:00", "10:00", "12:00", "14:00", "16:00" ],
thu: [ "8:00", "12:00", "16:00" ],
},

Maybe even add support for "def:" for a default schedule so that if every day is the same save one, you could just do:

timeslots: {
def: [ "8:00", "10:00", "12:00", "14:00", "16:00" ],
sat: [ "9:00", "13:00" ],
},

In the case where weekdays are all the same schedule but Saturday is different, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions