diff options
| author | Farhaan Bukhsh <farhaan.bukhsh@gmail.com> | 2019-11-27 08:14:00 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-11-27 09:43:12 +0100 |
| commit | 42b23d1e79b21ddd8abd7216a6771f105dd7062c (patch) | |
| tree | 0567180d44c1fd9414c15417a618561fa3cea811 /docs | |
| parent | cab36618326524b336517c2c5fd62633916818e0 (diff) | |
Refs #30803 -- Allowed comma separators for decimal fractions in parse_duration().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/utils.txt | 5 | ||||
| -rw-r--r-- | docs/releases/3.1.txt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 09b174c1ce..8aa8c3403d 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -154,6 +154,11 @@ The functions defined in this module share the following properties: 8601 (e.g. ``P4DT1H15M20S`` which is equivalent to ``4 1:15:20``) or PostgreSQL's day-time interval format (e.g. ``3 days 04:05:06``). + .. versionchanged:: 3.1 + + Support for comma separators for decimal fractions in the ISO 8601 + format was added. + ``django.utils.decorators`` =========================== diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index b7c9806692..ed841cc962 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -256,6 +256,9 @@ Utilities * :func:`~django.utils.encoding.filepath_to_uri` now supports :class:`pathlib.Path`. +* :func:`~django.utils.dateparse.parse_duration` now supports comma separators + for decimal fractions in the ISO 8601 format. + Validators ~~~~~~~~~~ |
