diff options
| author | sarahboyce <sarahvboyce95@gmail.com> | 2023-06-08 09:51:12 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-06-09 12:18:17 +0200 |
| commit | 531f557f9238b8f2e5032e569cf36f0c05bb4043 (patch) | |
| tree | 5231aa8d4525c05b51a8b87808c6f114980bd08b /docs/ref/forms/widgets.txt | |
| parent | b81e974e9ea16bd693b194a728f77fb825ec8e54 (diff) | |
Fixed #23049 -- Added %a and %A support to Date.strftime.
This enables the admin to display the day as locale's abbreviated/full
name if %a/%A is used in the date format.
Diffstat (limited to 'docs/ref/forms/widgets.txt')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 1fbd5ad4a0..efff81ddbc 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -603,7 +603,8 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. If no ``format`` argument is provided, the default format is the first format found in :setting:`DATE_INPUT_FORMATS` and respects - :doc:`/topics/i18n/formatting`. + :doc:`/topics/i18n/formatting`. ``%U``, ``%W``, and ``%j`` formats are not + supported by this widget. ``DateTimeInput`` ~~~~~~~~~~~~~~~~~ @@ -622,7 +623,8 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. If no ``format`` argument is provided, the default format is the first format found in :setting:`DATETIME_INPUT_FORMATS` and respects - :doc:`/topics/i18n/formatting`. + :doc:`/topics/i18n/formatting`. ``%U``, ``%W``, and ``%j`` formats are not + supported by this widget. By default, the microseconds part of the time value is always set to ``0``. If microseconds are required, use a subclass with the |
