Off by one error

This commit is contained in:
thepaperpilot 2022-12-01 00:00:57 -06:00
parent 02ab4e6229
commit 453085284f

View file

@ -51,7 +51,7 @@ const symbolComp = computeComponent(toRef(props, "symbol"));
const canOpen = computed(
() =>
Decimal.gte(main.day.value, props.day) &&
new Date().getMonth() === 12 &&
new Date().getMonth() === 11 &&
new Date().getDate() >= props.day
);