mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #8962 -- Consistently support format and input_format in the various (individual, combined, split) date and time form fields and widgets.
Many thanks to Tai Lee for doing all the work here. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -66,9 +66,9 @@ Countries currently supported by :mod:`~django.contrib.localflavor` are:
|
||||
* `United States of America`_
|
||||
|
||||
The ``django.contrib.localflavor`` package also includes a ``generic`` subpackage,
|
||||
containing useful code that is not specific to one particular country or
|
||||
culture. Currently, it defines date and datetime input fields based on those
|
||||
from :ref:`forms <topics-forms-index>`, but with non-US default formats.
|
||||
containing useful code that is not specific to one particular country or culture.
|
||||
Currently, it defines date, datetime and split datetime input fields based on
|
||||
those from :ref:`forms <topics-forms-index>`, but with non-US default formats.
|
||||
Here's an example of how to use them::
|
||||
|
||||
from django import forms
|
||||
|
||||
Reference in New Issue
Block a user