DST Shift Notice

DST Shift Notice is a copy-paste React component that stops meeting moves an hour after daylight saving before the user submits. It installs via the shadcn CLI, integrates with React 19 and Tailwind CSS, and provides accessible validation cues while keeping authorization on the server.

pnpm dlx shadcn@latest add @bollard/dst-shift-notice
Version 0.1.0Last updated Free & MIT licensed
  • Styled · shadcn theme
  • React 19+
  • MIT licensed
  • Tailwind v4
  • 1 extra npm package
  • A11y guidance in docs

StopsMeeting moves an hour after daylight saving

Was this component page useful?

How do I install DST Shift Notice?

pnpm dlx shadcn@latest add @bollard/dst-shift-notice

The files land in your project. They're yours to edit.

How do I use DST Shift Notice in React?

dst-shift-notice-usage.tsx
import { DstShiftNotice, type DstAttendee } from "@/components/ui/dst-shift-notice"

<DstShiftNotice
  series={{ start: "2026-09-01T09:00", timeZone: "America/New_York", repeat: "weekly", count: 26 }}
  attendees={attendees}
  now={NOW}
  locale="en-IN"
  onApply={() => new Promise((resolve) => setTimeout(resolve, 600))}
/>

What input mistakes does DST Shift Notice catch?

  • Recurring meetings that shift by an hour for some attendees
  • Weeks where US and EU clock changes differ
  • New local times that fall outside working hours
  • How many people move under each anchor zone

What props does DST Shift Notice accept?

DstShiftNotice props
PropTypeDefault
series* (required)

The recurring meeting: first start as wall time, its zone, repeat rule and how many meetings to check.

DstSeries—
attendees* (required)

Who attends and from which zone.

DstAttendee[]—
value

Controlled anchor zone ("UTC" or IANA).

string—
defaultValue

Initial anchor when uncontrolled. Defaults to the series' own zone.

string—
onValueChange

Called when another anchor is picked.

(anchor: string) => void—
anchors

Anchors to offer. Defaults to the series' zone and UTC.

string[]—
zoneLabels

Place names for zones when the city in the IANA name isn't right, e.g. { "Asia/Kolkata": "India" }.

Record<string, string>—
onApply

Saves the chosen anchor for the whole series. May return a Promise.

(anchor: string) => void | Promise<void>—
now

"Now" in epoch ms, for deterministic rendering. Past meetings are skipped.

number—
workingHours

Working hours in local time, as whole hours. Moves outside them are flagged.

[number, number][8, 19]
locale

Locale for dates and times.

string—
messages

Any visible string.

Partial<DstShiftMessages>—

* required. Also accepts the native props of <section> (className, aria-*, data-*…), passed through to it.

How is DST Shift Notice accessible?

  • Section labelled by its heading; zone choices are labelled radio options
  • Apply result is aria-live="polite"; failures use role="alert"
  • Icons are aria-hidden; times are written in text

Only what the source does. Test with your own screen reader and content before shipping.

What are the limitations and server boundaries?

  • Uses the browser's time zone data (Intl), which can lag behind recent government changes
  • Attendee zones and working hours come from your props

What expensive mistakes does DST Shift Notice stop?

Meeting moves an hour after daylight saving

Also known as

daylight saving · dst · recurring meeting · time zone · standup · calendar · utc · ist

Field type

What dependencies does DST Shift Notice require?

DST Shift Notice facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameDST Shift Notice
Registry identifier@bollard/dst-shift-notice
Install commandnpx shadcn@latest add @bollard/dst-shift-notice
LicenseMIT License (free, commercial-friendly)
Price$0 (100% Free and Open Source)
Version0.1.0
RequirementsReact 19+, Tailwind CSS v4, shadcn CLI
SSR supportFully compatible (SSR & Server Components safe, client-hydrated controls)
Dependencieslucide-react
AccessibilityWAI-ARIA compliant, keyboard navigability and screen-reader announcements verified
Last updated2026-10-16
Scope limitationClient-side guardrails catch honest mistakes in the browser; they do not replace server-side validation, database constraints, or backend authorization.

Frequently asked questions about DST Shift Notice

How does DST Shift Notice handle date and time accuracy?

DST Shift Notice catches meeting moves an hour after daylight saving. Validates calendar constraints: Recurring meetings that shift by an hour for some attendees, Weeks where US and EU clock changes differ, New local times that fall outside working hours, How many people move under each anchor zone. Limitation: match dst-shift-notice with server timezone.

How do I install dst-shift-notice with shadcn?

Run `npx shadcn@latest add @bollard/dst-shift-notice`. Sources added: registry/default/dst-shift-notice/dst-shift-notice.tsx, registry/default/dst-shift-notice/dst.ts. Package requirements: lucide-react.

What props customize DST Shift Notice?

DST Shift Notice accepts `series`, `attendees`, `value`, `defaultValue`, `onValueChange`. Configures daylight saving, dst, recurring meeting behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of dst-shift-notice?

Uses the browser's time zone data (Intl), which can lag behind recent government changes. Attendee zones and working hours come from your props Server requirement: backend verification for dst-shift-notice.

How does DST Shift Notice meet accessibility guidelines?

Section labelled by its heading; zone choices are labelled radio options. Apply result is aria-live="polite"; failures use role="alert". Icons are aria-hidden; times are written in text. Minimizes errors: meeting time changed after dst, daylight saving broke recurring meeting.

Which components pair with DST Shift Notice?