Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA start date and a probation length of one to twelve months that give the last day of probation, the review date and a note when either falls on a weekend. Use this when an employment or trial period runs for whole months and HR needs the exact last day.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when an employment or trial period runs for whole months and HR needs the exact last day.
Do not use it for periods counted in days; use export-date-range-limit or date-range-field.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| startDate | string | today | First day of employment. |
| months | number[] | [1, 3, 6, 12] | Lengths offered. |
| reviewDaysBefore | number | 14 | Review this many days before the end. |
| onValueChange | (result: { start; months; end; review }) => void | - | Calculated dates. |
The pattern ships with a Testing Library test (probation-end-date.test.tsx) that covers the end date including month-end starts, the review date and weekend notes.