Opened 15 years ago

Closed 15 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: no UI/UX: no

Description

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 15 years ago.

Download all attachments as: .zip

Change History (2)

by wardi, 15 years ago

Attachment: datetime_safe.patch added

comment:1 by Karen Tracey, 15 years ago

Resolution: duplicate
Status: newclosed

#10866 proposes the same change.

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