summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils/tests.py
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-05-08 13:39:37 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-05-08 13:39:37 +0000
commit2af75b485db15a8494b040aa04337c052b896cca (patch)
treefc4f74a3940a645a8915160cf27f384d55b7f29b /tests/regressiontests/utils/tests.py
parentf7d01c49e95a9ed25dd75e6b3d4c063dff58e23a (diff)
Fixed #10825: fixed the 'U' format code to dateformat (and the date/now filter/tag). Thanks to gsong and mir.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/tests.py')
-rw-r--r--tests/regressiontests/utils/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/utils/tests.py b/tests/regressiontests/utils/tests.py
index 485c5faa75..6d345d9afb 100644
--- a/tests/regressiontests/utils/tests.py
+++ b/tests/regressiontests/utils/tests.py
@@ -8,6 +8,7 @@ from django.utils import html, checksums
import timesince
import datastructures
+import dateformat
import itercompat
from decorators import DecoratorFromMiddlewareTests
@@ -22,6 +23,7 @@ except NameError:
__test__ = {
'timesince': timesince,
'datastructures': datastructures,
+ 'dateformat': dateformat,
'itercompat': itercompat,
}