How would you test scheduling across time zones, daylight-saving changes and locale calendars?
Answer
Separate an instant from its displayed local time and preserve the intended time-zone identifier when future local schedules must follow regional rule changes. Test DST gaps and repeated hours, midnight and date-boundary crossings, zones with non-hour offsets, user-zone changes and server/client disagreement. Verify recurrence, sorting, notifications and exported data against an independent time-zone library or calendar.
Strong answer includes
- separates instants, local times and zone identifiers
- covers skipped and repeated daylight-saving times
- tests downstream ordering, recurrence and notification effects
Practical example
A recurring 9 AM meeting scheduled in America/New_York before a spring-forward DST change silently shifts by an hour in a system that stored the absolute UTC instant instead of the zone identifier; testing a meeting series that spans the DST boundary catches this before real users get invited at the wrong time.