Opened 3 years ago

Closed 3 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

Description

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_ 3 years ago.
change default date format for italian locale

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by rm_

change default date format for italian locale

comment:1 Changed 3 years ago by tekNico

  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Bug

As the Italian localization maintainer, I endorse this change.

comment:2 Changed 3 years ago by claudep

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 3 years ago by ramiro

  • Component changed from Internationalization to contrib.localflavor

comment:4 Changed 3 years ago by aaugustin

  • Resolution set to fixed
  • Status changed from new to closed

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