Opened 5 years ago

Closed 5 years ago

#30936 closed Bug (duplicate)

Enabled timezone collides with date_hierarchy of django admin.

Reported by: Pavel Owned by: nobody
Component: contrib.admin Version: 2.2
Severity: Normal Keywords: date, hierarchy
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Pavel)

I encountered strange bug today.
In django admin, if dates were filtered by date hierarchy for one particular day, they didn't appear on the page, even if they exist and are visible in general view.
When added 31 of October, 31 October didnt appear at all. See enclosed pictures.

I was able to fix the issue in setting by USE_TZ = False

Attachments (2)

bug_django.png (48.4 KB ) - added by Pavel 5 years ago.
bug_django2.png (20.8 KB ) - added by Pavel 5 years ago.

Download all attachments as: .zip

Change History (5)

by Pavel, 5 years ago

Attachment: bug_django.png added

by Pavel, 5 years ago

Attachment: bug_django2.png added

comment:1 by Pavel, 5 years ago

Description: modified (diff)

comment:2 by Mariusz Felisiak, 5 years ago

Duplicate of #30922.

comment:3 by Mariusz Felisiak, 5 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top