Opened 6 years ago

Closed 6 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:

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

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by wardi

comment:1 Changed 6 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

#10866 proposes the same change.

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