Changes between Version 2 and Version 3 of Ticket #29724, comment 9
- Timestamp:
- Sep 3, 2019, 4:42:06 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29724, comment 9
v2 v3 2 2 3 3 #29724 (TZ matter) 4 Problem occures when : [USE_TZ, sqlite, DatetimeField ] AND object.datetime.date != object datetime.date(tzinfo=UTC), for example In America/Los_Angeles 2018-08-31, 11pm.5 When year and month lookup are selected, queryset.dates method gives a date_hierarchy choice for next month 1st.6 4 It may be solved modifying django/contrib/admin/templatetags/admin_list.py using **queryset.filter (instead of queryset.dates) and lists (that may be slow)** : 7 5 {{{