Skip to content

Working hours should be able to go past midnight #34

@AlexLerman

Description

@AlexLerman

Would be great if working hours could be:

var workinghours = {
        0: ['12:00:00', '04:00:00'],
        1: ['12:00:00', '04:00:00'],
        2: ['12:00:00', '04:00:00'],
        3: ['12:00:00', '04:00:00'],
        4: ['12:00:00', '04:00:00'],
        5: ['12:00:00', '04:00:00'],
        6: ['12:00:00', '04:00:00']
    }

meaning noon to 4am the next day.

Alternatively, a way to have multiple ranges to achieve the same result
var workinghours = {
0: [['12:00:00', '24:00:00'], [['00:00:00', '04:00:00']],
}

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