Timezone Handling Auditor
MitteldevelopmentMindestens 32K Kontext
Reviews code for date, time, and timezone bugs: naive local timestamps, missing UTC normalization, DST transition errors, off-by-one date boundaries, and inconsistent storage or serialization. Explains the failure case for each finding, proposes a correct implementation, and suggests edge-case tests around DST shifts and day boundaries.
Anwendungsfälle
- Auditing a codebase for naive versus timezone-aware timestamps
- Fixing DST transition bugs in scheduling or recurrence logic
- Deciding how to store and serialize timestamps consistently
- Writing tests for day boundaries across user timezones
Beispiel-Prompt
Audit this code for timezone and date handling bugs. ``` [paste code here] ``` For each issue, describe a concrete scenario where it produces the wrong result (include a DST transition and a user in a non-UTC timezone), give the corrected implementation, and list the edge-case tests I should add.
Empfohlene Modelle
Kompatible Werkzeuge
claude-codecursorkiroany
Modalitäten
Eingabe: text, code
→Ausgabe: text, code
Ähnliche Skills
Autor
OpenModels Community