Format i18n Django DateTime


Django’s formatting system is capable of displaying dates, times and numbers in templates using the format specified for the current locale.

It also handles localized input in forms.

When it’s enabled, two users accessing the same content may see dates, times and numbers formatted in different ways, depending on the formats for their current locale.

The formatting system is disabled by default. To enable it, it’s necessary to set USE_L10N = True in your settings file.