@ -49,7 +49,8 @@ PropertyDescriptors["pixRatio"] = {
export let StartOfWeek = 1;
export const setStartOfWeek = v => {
if (![0, 1].includes(v)) {
throw new Error("setStartOfWeek must be 0 or 1");
console.error("setStartOfWeek must be 0 or 1");
return;
}
StartOfWeek = v;
};