#36811: Admin timezone warning shows incorrect plural form and confusing message
----------------------------+-----------------------------------------
Reporter: Koded0214h | Type: Uncategorized
Status: new | Component: Uncategorized
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+-----------------------------------------
The Django admin displays two issues with timezone offset warnings:
1. Incorrect plural: Shows "1 hours behind" instead of "1 hour behind"
2. Confusing message: "You are X hours behind server time" doesn't explain
that times are displayed correctly in the user's local timezone
Steps to reproduce:
1. Set TIME_ZONE = 'UTC' in settings.py
2. View admin with browser in UTC+1 timezone (e.g., Lagos)
3. Add/edit any model with DateTimeField
4. Observe warning message
Expected:
- "1 hour behind" (singular, not "1 hours")
- Clear indication of which timezone is being displayed
Actual:
- "Note: You are 1 hours behind server time."
Component: contrib.admin
Type: Bug
Version: main
--
Ticket URL: <
https://code.djangoproject.com/ticket/36811>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.