#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
-------------------------------------+-------------------------------------
Comment (by Basil Eric Rabi):
Hi Min ho Kim,
I meant that by changing the `TIME_ZONE` to
`your_browser's_local_timezone`, the issue will be reproduced. For me, my
time zone is `Asia/Manila`. If I put time zones other than my local time
zone (which is `Asia/Manila`), the text box *does not* shrink when the
browser window is resized smaller. This must be the case for you since
most probably, your time zone is not `Asia/Manila`. I think you can
reproduce the issue if you change the time zone to your local one.
This may be related to the absence of this message under the widget:
```
Note: You are n hours ahead/behind server time.
```
If this message is absent, then the text box will shrink if the browser
window is resized.
These are the browsers I am presently testing:
1. Firefox 69.0 (Fedora 30)
1. Firefox 68.1 (Android O)
1. Google Chrome 76.0.3809.132 (Fedora 30)
--
Ticket URL: <https://code.djangoproject.com/ticket/30725#comment:18>
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.f8954a812687a953e1084cedf1d1db71%40djangoproject.com.