feat(season): easter-offset + nth-weekday datumregler för marknads-högtider (MIKRO A)
CI / Typecheck, test & build (push) Failing after 42s
CI / Typecheck, test & build (push) Failing after 42s
This commit is contained in:
@@ -4,7 +4,9 @@ import { createdAt, updatedAt } from "./_shared.js";
|
||||
type DateRule =
|
||||
| { kind: "fixed"; monthDay: string }
|
||||
| { kind: "range"; startMonthDay: string; endMonthDay: string }
|
||||
| { kind: "computed"; algorithm: "midsummer" | "easter" | "advent" | "custom" };
|
||||
| { kind: "computed"; algorithm: "midsummer" | "easter" | "advent" | "custom" }
|
||||
| { kind: "easter-offset"; days: number }
|
||||
| { kind: "nth-weekday"; month: number; weekday: number; n: number | "last" };
|
||||
|
||||
/**
|
||||
* Datadriven Season & Events Engine (spec §28): midsommar, jul, påsk, kräftskiva,
|
||||
|
||||
Reference in New Issue
Block a user