summaryrefslogtreecommitdiff
path: root/tests/humanize_tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33879 -- Improved timesince handling of long intervals.GianpaoloBranca2023-01-041-2/+2
|
* Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson2022-03-241-3/+3
| | | | | Remaining test case ensures that uses of the alias are mapped canonically by the migration writer.
* 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-142/+312
|
* Refs #28628 -- Added tests for intcomma with non-ASCII digits.Ad Timmering2022-01-071-0/+4
|
* Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz2021-09-141-5/+5
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #31363 -- Added support for negative integers to intword template filter.jay201620162020-03-161-8/+24
|
* Refs #27804 -- Used subTest() in filesizeformat tests and HumanizeTests.Jon Dufresne2019-06-101-7/+12
|
* Completed test coverage of contrib.humanize.templatetags.humanize.Hasan Ramezani2018-11-101-2/+7
|
* Refs #21408 -- Updated naturaltime translation test.Claude Paroz2018-09-291-9/+27
| | | | Upcoming German translations will not differ for past and future naturaltime translations. Using Czech language instead.
* Fixed #21408 — German Translation for “3 days ago”Maximilian Merz2018-05-101-0/+26
| | | | | | | | The problem: “3 days ago” should translate to “vor 3 Tagen” in German, while “3 days” translates to “3 Tage”. #21408 describes that django always translated to “Tage”, even when the dative “Tagen” was correct. The same applies to months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”). The solution: Let `timesince` caller provide the string dict to use for the time-related strings.
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-1/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham2016-10-271-8/+0
|
* Refs #26712 -- Removed workarounds for PostgreSQL queries on TIME_ZONE changes.Simon Charette2016-06-061-2/+2
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-28/+39
|
* Moved contrib.humanize tests out of contrib.Tim Graham2015-02-112-0/+290