Timezone and DST Scheduling Test Plan Builder
Build a timezone and daylight saving time scheduling test plan for recurring jobs, calendar events, reminders, user locale handling, and edge-case regressions.
Prompt Template
You are a senior QA engineer and backend developer designing a test plan for timezone and daylight saving time scheduling bugs. Application context: [calendar app, booking system, billing jobs, reminders, cron scheduler, travel app, healthcare scheduling] Languages and frameworks: [JavaScript, TypeScript, Python, Ruby, Java, Go, Rails, Django, Node, React] Date/time libraries: [Temporal, Luxon, date-fns, Moment, Day.js, pytz, zoneinfo, java.time, none] Storage model: [UTC timestamps, local date plus timezone, server timezone, database timestamp type] User timezone behavior: [profile timezone, browser timezone, location-based, organization timezone, per-event timezone] Scheduling rules: [one-time, daily, weekly, monthly, business days, end-of-month, relative reminders] Critical regions: [US, EU, UK, Australia, Brazil, India, UTC-only users, multi-region teams] Known failure modes: [one-hour drift, skipped reminder, duplicate job, wrong local date, stale timezone database] Systems involved: [frontend calendar, API, database, worker queue, cron, email/SMS provider, mobile push] Existing tests: [unit, integration, E2E, clock mocking, fixture data, none] Release risk: [payments, healthcare, travel, legal deadline, customer notification, low risk] Create: 1. Risk map for timezone, DST, recurring schedule, storage, display, and notification failures. 2. Test matrix covering spring-forward, fall-back, timezone changes, leap day, month-end, and midnight boundaries. 3. Fixture set with representative users, events, jobs, and regions. 4. Unit test strategy for date calculations and recurrence rules. 5. Integration test strategy across API, database, worker queue, and notification provider. 6. E2E scenarios for event creation, editing, display, reminders, and user timezone changes. 7. Data migration and backward-compatibility checks if storage changes are needed. 8. Monitoring and alerting plan for duplicate, skipped, or late scheduled work. 9. Code review checklist for date/time handling. 10. Rollout plan with feature flags, shadow calculations, and rollback triggers. Be explicit about storing instants versus local calendar intent. Do not assume the server timezone is safe.
Example Output
High-Risk Scenario
A weekly medication reminder is scheduled for 8:00 AM America/New_York. On spring-forward weekend, the reminder must still send at 8:00 AM local time on Monday, not 7:00 AM or 9:00 AM.
Test Matrix
| Case | Input | Expected Result |
|---|---|---|
| Spring forward | Daily reminder at 02:30 local | Apply product rule for nonexistent time and log it |
| Fall back | Reminder at 01:30 local | Send once unless duplicate behavior is explicitly required |
| Traveler | User changes profile timezone | Future display updates, stored event intent remains correct |
| Month end | Monthly job on the 31st | Product-defined behavior for shorter months is consistent |
Code Review Questions
Are recurring events stored as local time plus IANA timezone? Are timezone database versions current? Are tests using real IANA zones instead of fixed offsets like GMT-5?
Tips for Best Results
- 💡Use IANA timezone names, not fixed offsets, when testing real user schedules.
- 💡Separate instant-based events from local calendar intent before designing tests.
- 💡Include regions with different DST rules so tests do not only pass for US dates.
- 💡Add monitoring for skipped and duplicate jobs because tests will not cover every future rule change.
Frequently Asked Questions
What is the Timezone and DST Scheduling Test Plan Builder prompt?
Build a timezone and daylight saving time scheduling test plan for recurring jobs, calendar events, reminders, user locale handling, and edge-case regressions. It's a free ChatGPT prompt template from our Coding collection — copy it, fill in the bracketed variables, and paste it into your AI tool.
Which AI tools work with this prompt?
It's written and tested for ChatGPT, Claude and Gemini. Any AI assistant that accepts free-form text prompts will handle it well.
How do I customize this ChatGPT prompt?
Adjust the details in the template to match your own context before running it. Use IANA timezone names, not fixed offsets, when testing real user schedules.
Is this prompt free to use?
Yes. Every prompt on PromptAtlas is free to copy, customize, and use — no signup required.
Related Prompts
Python FileNotFoundError Debugging Prompt
Debug Python FileNotFoundError from the exact traceback, resolved path, working directory, filesystem context, deployment environment, and failing operation.
Python ZeroDivisionError Debugging Prompt
Debug Python ZeroDivisionError from the exact traceback, operand values and types, data path, numeric semantics, runtime context, and failing input.
Python IndentationError Debugging Prompt
Debug Python IndentationError from the exact parser message, whitespace, block structure, source bytes, formatter settings, and runtime version.
Python SyntaxError: Invalid Syntax Debugging Prompt
Debug Python SyntaxError invalid syntax from the exact parser location, surrounding tokens, Python version, generated code, execution context, and minimal reproduction.
Python AttributeError: Object Has No Attribute Debugging Prompt
Debug Python AttributeError from the exact traceback, runtime object type, attribute contract, construction path, version, imports, and minimal reproduction.
Python UnboundLocalError Debugging Prompt
Debug Python UnboundLocalError from the exact traceback, binding scope, assignments, branches, closures, imports, runtime path, and minimal reproduction.