summaryrefslogtreecommitdiff
path: root/django/utils/formats.py
AgeCommit message (Expand)Author
2023-01-17Refs #32873 -- Removed settings.USE_L10N per deprecation timeline.Mariusz Felisiak
2023-01-04Simplified django.utils.formats.date_format()/time_format() calls.Nick Pope
2022-05-31Fixed #33748 -- Fixed date template filter crash with lazy format.Claude Paroz
2022-02-22Refs #32873 -- Avoided looking up settings._USE_L10N_INTERNAL twice.Collin Anderson
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-27Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
2021-07-19Fixed #32941 -- Removed get_format_modules()'s unused reverse argument.Keryn Knight
2021-06-05Fixed #32810 -- Optimized django.utils.formats.number_format() a bit.Mateo Radman
2021-05-12Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe.Nick Pope
2020-06-04Fixed #30134 -- Ensured unlocalized numbers are string representation in temp...Claude Paroz
2018-07-19Fixed #29578 -- Made numberformat.format() honor forced l10n usage.Claude Paroz
2017-10-22Refs #14807 -- Removed unneeded mark_safe callClaude Paroz
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-04-07Fixed #22654 -- Broken decimal validationRaphael Michel
2017-02-11Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2016-12-21Fixed #25753 -- Made get_format() cache the formats from Django settingsJaap Roes
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-02-09Fixed #26173 -- Prevented localize_input() from formatting booleans as numbers.Marcin Markiewicz
2016-01-05Replaced dict.setdefault() usage to avoid unnecessary object instantiations.Benjamin Bach
2015-11-28Fixed #25812 -- Restored the ability to use custom formats with the date temp...Gagaro
2015-11-24Fixed a settings leak possibility in the date template filter.Florian Apolloner
2015-11-12Fixed #25743 -- Optimized utils.localize() and localize_input()Jaap Roes
2015-02-09Removed some obsolete absolute_imports.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
2014-08-18Fixed #22171 -- Improved sanitize_separators clevernessClaude Paroz
2014-05-21Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATHMartin Brochhaus
2014-05-19Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of mod...Tim Graham
2014-05-19Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.Martin Brochhaus
2013-11-02Correct flake8 E302 violationsRay Ashman Jr
2013-09-06Moved a settings usage up the stack in utils/formats.py #unsettingsAdrian Holovaty
2013-08-19Avoid importing the deprecated `django.utils.importlib` package.Simon Charette
2013-07-29Deprecated django.utils.importlibClaude Paroz
2013-03-02Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATSClaude Paroz
2013-02-15Improved input sanitizing with thousand separatorsClaude Paroz
2012-12-01Fixed #19015 -- Add ISO input formats to all formatsClaude Paroz
2012-08-30Replaced some smart_xxx by force_xxx equivalentClaude Paroz
2012-07-22[py3] Replaced unicode/str by six.text_type/bytes.Aymeric Augustin
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-07-22[py3] Removed longs.Aymeric Augustin
2011-10-20Fixed 16938 -- Ensured that the active locale's formats take precedence over ...Julien Phalip
2011-09-22Fixed #16909 -- Pass language to get_format_modules when calling it from get_...Jannis Leidel
2011-09-08Fixed #16404 -- Fixed a regression in the localization changes in the humaniz...Jannis Leidel