Opened 7 years ago

Closed 7 years ago

#17440 closed Bug (fixed)

A proper format for dates and datetimes in italian locale

Reported by: rm_ Owned by: nobody
Component: contrib.localflavor Version: master
Severity: Normal Keywords: italian localization
Cc: nico@…, carlo.miron@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


For some reason the italian locale has Y-m-d as first choice, the first choice is important because it used as default format in number of places, contrib.admin calendar widget included. Unfortunately we are used to a d/m/Y format so people using the django admin does not feel the format as correct. So reorder DATE_INPUT_FORMATS and DATETIME_INPUT_FORMATS to have d/m/Y as first choice.
Please review. I've added italian localization maintainers in cc list.

Attachments (1)

change-default-date-format-italian-locale.diff (1.7 KB) - added by rm_ 7 years ago.
change default date format for italian locale

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by rm_

change default date format for italian locale

comment:1 Changed 7 years ago by Nicola Larosa

Easy pickings: set
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

As the Italian localization maintainer, I endorse this change.

comment:2 Changed 7 years ago by Claude Paroz

Triage Stage: AcceptedReady for checkin

comment:3 Changed 7 years ago by Ramiro Morales

Component: Internationalizationcontrib.localflavor

comment:4 Changed 7 years ago by Aymeric Augustin

Resolution: fixed
Status: newclosed

In [17292]:

Fixed #17440 -- Used a more natural default date format in the Italian locale. Thanks rm_ and tekNico.

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