Debug date/time and timezone-related bugs in your code
Help me fix date/time and timezone bugs in my application.
**Programming Language:** {{LANGUAGE}}
**Date library (if any):** {{DATE_LIBRARY}}
**Code with date handling:**
```{{LANGUAGE}}
{{CODE}}
```
**Input date/time:** {{INPUT}}
**Expected output:** {{EXPECTED}}
**Actual output:** {{ACTUAL}}
**User timezone:** {{USER_TZ}}
**Server timezone:** {{SERVER_TZ}}
**Database timezone:** {{DB_TZ}}
Please provide:
1. **Timezone Analysis**: Identify timezone conversion issues
2. **Date Parsing Issues**: Check date string parsing
3. **DST Problems**: Handle daylight saving time edge cases
4. **Storage Strategy**: Recommend proper date storage format
5. **Fixed Code**: Corrected date handling code
6. **Conversion Flow**: Show proper timezone conversion flow
7. **Testing Dates**: Edge case dates to test
8. **Best Practices**: Date handling best practicesOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{LANGUAGE][{DATE_LIBRARY][{CODE][{INPUT][{EXPECTED][{ACTUAL][{USER_TZ][{SERVER_TZ][{DB_TZ]