summaryrefslogtreecommitdiff
path: root/django/utils/formats.py
Commit message (Expand)AuthorAgeFilesLines
* Refs #32873 -- Removed settings.USE_L10N per deprecation timeline.Mariusz Felisiak2023-01-171-13/+7
* Simplified django.utils.formats.date_format()/time_format() calls.Nick Pope2023-01-041-1/+1
* Fixed #33748 -- Fixed date template filter crash with lazy format.Claude Paroz2022-05-311-0/+1
* Refs #32873 -- Avoided looking up settings._USE_L10N_INTERNAL twice.Collin Anderson2022-02-221-16/+10
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+2
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-62/+80
* Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak2021-09-271-1/+1
* Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz2021-09-141-2/+10
* Fixed #32941 -- Removed get_format_modules()'s unused reverse argument.Keryn Knight2021-07-191-5/+2
* Fixed #32810 -- Optimized django.utils.formats.number_format() a bit.Mateo Radman2021-06-051-4/+2
* Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe.Nick Pope2021-05-121-3/+38
* Fixed #30134 -- Ensured unlocalized numbers are string representation in temp...Claude Paroz2020-06-041-0/+2
* Fixed #29578 -- Made numberformat.format() honor forced l10n usage.Claude Paroz2018-07-191-1/+2
* Refs #14807 -- Removed unneeded mark_safe callClaude Paroz2017-10-221-2/+1
* Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham2017-09-071-3/+6
* Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen2017-06-281-12/+6
* Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne2017-05-271-1/+1
* Fixed #22654 -- Broken decimal validationRaphael Michel2017-04-071-1/+1
* Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan2017-02-111-20/+16
* Refs #23919 -- Removed unneeded force_str callsClaude Paroz2017-01-201-5/+3
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-10/+10
* Fixed #25753 -- Made get_format() cache the formats from Django settingsJaap Roes2016-12-211-26/+34
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
* Fixed #26173 -- Prevented localize_input() from formatting booleans as numbers.Marcin Markiewicz2016-02-091-0/+2
* Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach2016-01-051-1/+3
* Fixed #25812 -- Restored the ability to use custom formats with the date temp...Gagaro2015-11-281-5/+3
* Fixed a settings leak possibility in the date template filter.Florian Apolloner2015-11-241-0/+20
* Fixed #25743 -- Optimized utils.localize() and localize_input()Jaap Roes2015-11-121-4/+7
* Removed some obsolete absolute_imports.Tim Graham2015-02-091-3/+0
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-6/+8
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-4/+4
* Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny2014-09-291-2/+2
* Fixed #22171 -- Improved sanitize_separators clevernessClaude Paroz2014-08-181-3/+7
* Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATHMartin Brochhaus2014-05-211-15/+23
* Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of mod...Tim Graham2014-05-191-9/+4
* Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.Martin Brochhaus2014-05-191-4/+9
* Correct flake8 E302 violationsRay Ashman Jr2013-11-021-0/+10
* Moved a settings usage up the stack in utils/formats.py #unsettingsAdrian Holovaty2013-09-061-4/+4
* Avoid importing the deprecated `django.utils.importlib` package.Simon Charette2013-08-191-0/+2
* Deprecated django.utils.importlibClaude Paroz2013-07-291-2/+2
* Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATSClaude Paroz2013-03-021-1/+1
* Improved input sanitizing with thousand separatorsClaude Paroz2013-02-151-11/+13
* Fixed #19015 -- Add ISO input formats to all formatsClaude Paroz2012-12-011-0/+16
* Replaced some smart_xxx by force_xxx equivalentClaude Paroz2012-08-301-5/+5
* [py3] Replaced unicode/str by six.text_type/bytes.Aymeric Augustin2012-07-221-2/+2
* [py3] Replaced basestring by six.string_types.Aymeric Augustin2012-07-221-1/+1
* [py3] Removed longs.Aymeric Augustin2012-07-221-2/+3
* Fixed 16938 -- Ensured that the active locale's formats take precedence over ...Julien Phalip2011-10-201-1/+6
* Fixed #16909 -- Pass language to get_format_modules when calling it from get_...Jannis Leidel2011-09-221-3/+4
* Fixed #16404 -- Fixed a regression in the localization changes in the humaniz...Jannis Leidel2011-09-081-1/+2