#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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019b3454dd59-cdc7c554-d21a-4d2d-b9ed-f3696bd5d55e-000000%40eu-central-1.amazonses.com.

Reply via email to