summaryrefslogtreecommitdiff
path: root/tests/regressiontests/humanize/tests.py
AgeCommit message (Collapse)Author
2011-09-23Fixed #16878 -- Improved intword filter to support numbers up to decillion ↵Jannis Leidel
and googol. Thanks to crodjer for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-09Add a test for the intcomma regression described in #16404/#16562, fixed in ↵Karen Tracey
r16726. Refs #16404. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-17Fixed #15921 -- Refined naturaltime filter added in r16071 to use timesince ↵Jannis Leidel
and timeuntil filters as fallbacks instead of date filter. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-17Updated humanize tests to use the FixedOffset timezone from the utils and ↵Jannis Leidel
removed a bit code smell while I'm here. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Added missing future imports missed in r16167.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06Fixed #6392 -- Made django.contrib.humanize template tags locale aware. ↵Jannis Leidel
Thanks, Dave McLain. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11321 -- Handle timezones correctly in conjunction with naturalday ↵Jannis Leidel
filter. Thanks, aarond10 and seocam. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #12771 -- Added naturaltime filter to humanize contrib app. Thanks, ↵Jannis Leidel
phinpho, djansoft and xtrqt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #4976 -- Stopped humanize template tags to raise a TypeError if passed ↵Jannis Leidel
a value of ``None``. Thanks, Simon G. and Adam Vandenberg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft ↵Russell Keith-Magee
patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #11783 -- ordinal template tag now catches TypeError. Thanks, ↵Adrian Holovaty
realpolitik and punteney git-svn-id: http://code.djangoproject.com/svn/django/trunk@12199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14Implemented auto-escaping of variable output in templates. Fully ↵Malcolm Tredinnick
controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 See documentation in templates.txt and templates_python.txt for how everything works. Backwards incompatible if you're inserting raw HTML output via template variables. Based on an original design from Simon Willison and with debugging help from Michael Radziej. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki ↵Malcolm Tredinnick
Pulliainen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
backwards compatible for all practical purposes. Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01Negligible formatting change to humanize tests.py (from [4880])Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31Fixed #3017 -- Added tests for humanize filter.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25Fixed #3518: Added unit tests for the humanize filters. Major thanks to ↵Jacob Kaplan-Moss
Jyrki Pulliainen for the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4571 bcc190cf-cafb-0310-a4f2-bffc1f526a37