Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#23827 closed Bug (fixed)

FileSystemStorage returns naive datetimes, but this is not documented

Reported by: James Aylett Owned by: James Aylett
Component: Documentation Version: 1.7
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by James Aylett)

Per #22567, FileSystemStorage returns naive datetimes (in the system TZ, although if you set TIME_ZONE in Django settings then this will usually set the system TZ). This should be documented so that others can interoperate (particularly important for staticfiles/collectstatic).

Change History (8)

comment:1 by Tim Graham, 9 years ago

Triage Stage: UnreviewedAccepted

comment:2 by James Aylett, 9 years ago

Description: modified (diff)

comment:3 by James Aylett, 9 years ago

Status: newassigned

comment:4 by James Aylett, 9 years ago

Description: modified (diff)

comment:5 by James Aylett, 9 years ago

Description: modified (diff)

comment:7 by James Aylett <james@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 88e13b44edaaad8a49ec0e6a1195b7ca12333b77:

Fixed #23827 -- TZ behavior in Storage API ref doc

This is derived from the current behaviour of FileSystemStorage.
Note that since this was not previously documented, other
implementations may not currently conform.

comment:8 by Andrew Godwin <andrew@…>, 9 years ago

In 39e3ef88c237e3f4cedc89cd36494a6d3f490812:

Merge pull request #3516 from jaylett/filestorage-timezones

Fixed #23827 -- TZ behavior in Storage API ref doc

Note: See TracTickets for help on using tickets.
Back to Top