#21258 closed Bug (invalid)
Spanish locale should accept %Y-%m-%d format for dates
Reported by: | Matt | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The Spanish formats file does not accept the YYYY-MM-DD format for dates. All the other language formats seem to accept this, as it is the ISO date format. Is there a reason for this, or simply overlooked?
Change History (4)
comment:1 by , 11 years ago
Version: | 1.5 → master |
---|
comment:2 by , 11 years ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
get_format
indjango.utils.formats.py
should automatically add ISO formats (hence %Y-%m-%d) in all localized formats. So if you think this doesn't work, could you please add some test or code snippet demonstrating the issue?