summaryrefslogtreecommitdiff
path: root/tests/humanize_tests
AgeCommit message (Collapse)Author
2018-11-10Completed test coverage of contrib.humanize.templatetags.humanize.Hasan Ramezani
2018-09-29Refs #21408 -- Updated naturaltime translation test.Claude Paroz
Upcoming German translations will not differ for past and future naturaltime translations. Using Czech language instead.
2018-05-10Fixed #21408 — German Translation for “3 days ago”Maximilian Merz
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.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-06-06Refs #26712 -- Removed workarounds for PostgreSQL queries on TIME_ZONE changes.Simon Charette
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-02-11Moved contrib.humanize tests out of contrib.Tim Graham