Common planning windows (30 / 45 / 60 / 90 / 180 days)
Use the quick preset chips above to jump straight to standard planning intervals, or refer to how each day count maps to weeks and common deadlines:
| Window | Exact weeks + days | Common real-world uses |
|---|---|---|
| 30 days | 4 weeks, 2 days | Invoice net-30 terms, monthly billing, standard return windows, short notice periods |
| 45 days | 6 weeks, 3 days | Credit card dispute windows, mortgage rate locks, mid-tier contract notices |
| 60 days | 8 weeks, 4 days | Lease termination notice, senior role notice periods, visa renewal windows |
| 90 days | 12 weeks, 6 days | Probation periods, quarterly OKRs, Schengen/tourist stay limits, passport validity checks |
| 180 days | 25 weeks, 5 days | 6-month passport validity rules, Schengen rolling lookback window, half-year warranties |
Month-end clamping rules (worked examples)
Adding months to the 29th, 30th, or 31st of a month requires a clear rule when the target month is shorter. Rather than overflowing into the next month (the bug caused by naive Date.setMonth() in JavaScript), Lasita clamps to the final day of the target month and flags it visibly:
2025-01-31 + 1 monthโ 2025-02-28 (adjusted to last day of month)2024-01-31 + 1 monthโ 2024-02-29 (leap year, adjusted to last day of month)2024-02-29 + 1 yearโ 2025-02-28 (adjusted to last day of month)2026-03-31 + 1 monthโ 2026-04-30 (adjusted to last day of month)