#30725: Textbox size of a DateTimeField with local timezone in settings becomes 
too
small in admin.TabularInline when browser windows is made smaller
-------------------------------------+-------------------------------------
     Reporter:  Basil Eric Rabi      |                    Owner:  Utkarsh
                                     |  Rajwansh
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  2.2
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Old description:

> I have a model with a DateTimeField and used it in admin.TabularInline
> for the Django Admin. When the browser window is wide enough there are no
> issues. But when the browser window is made smaller or when you use a
> phone to view the admin page, you can't see the text inside the text box
> for the date and time since the boxes become too small.

New description:

 I have a model with a DateTimeField and used it in admin.TabularInline for
 the Django Admin using `TIME_ZONE = 'Asia/Manila'` in `settings.py`. When
 the browser window is wide enough there are no issues. But when the
 browser window is made smaller or when you use a phone to view the admin
 page, you can't see the text inside the text box for the date and time
 since the boxes become too small.

--

Comment (by Basil Eric Rabi):

 Hi Min ho Kim,

 I'm sorry for the lacking information. I just tried to do a minimal
 reproducible example and found out what was missing was the `TIME_ZONE =
 'Asia/Manila'` in `settings.py`. It seems the bug is not triggered if
 `TIME_ZONE = 'UTC'`. I updated the bug description.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:16>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/067.fe57b25a468b54dcbf43519af2d2b2a3%40djangoproject.com.

Reply via email to