Skip to content

OperatingOverride

One local date whose windows differ from the weekly pattern.

import type { OperatingOverride } from "@northguild/gmt";
MemberTypeDescription
datestringThe local date the override applies to, as an ISO PlainDate string in the schedule’s zone.
windowsLocalWindow[] (LocalWindow)The windows that date has instead of its weekly ones, holiday or not. [] closes the date for the whole day.
type OperatingOverride = {
/** The local date the override applies to, as an ISO PlainDate string in the schedule's zone. */
date: string;
/**
* The windows that date has instead of its weekly ones, holiday or not. `[]` closes the date
* for the whole day.
*/
windows: LocalWindow[];
};

types/operating-schedule.ts