Changes between Version 2 and Version 3 of Ticket #29724, comment 9


Ignore:
Timestamp:
Sep 3, 2019, 4:42:06 PM (5 years ago)
Author:
yab

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29724, comment 9

    v2 v3  
    22
    33#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.
    64It may be solved modifying django/contrib/admin/templatetags/admin_list.py using **queryset.filter (instead of queryset.dates) and lists (that may be slow)** :
    75{{{
Back to Top