Opened 7 years ago

Closed 7 years ago

#11132 closed (duplicate)

dumpdata with a year<1000 can't be loaded with loaddata

Reported by: wardi Owned by: nobody
Component: Core (Other) Version: 1.0
Severity: Keywords: date dumpdata loaddata
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


running dumpdata on a date of 0001-01-01 gives the string " 1-01-01" which can't be loaded with loaddata

Attachments (1)

datetime_safe.patch (329 bytes) - added by wardi 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by wardi

Attachment: datetime_safe.patch added

comment:1 Changed 7 years ago by Karen Tracey

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

#10866 proposes the same change.

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