1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

[1.1.X] Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch.

Backport of r12423 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee
2010-02-13 14:06:13 +00:00
parent 1d9bc59534
commit d751f2cade
6 changed files with 27 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ from django.utils.functional import SimpleLazyObject
import timesince
import datastructures
import dateformat
import datetime_safe
import itercompat
from decorators import DecoratorFromMiddlewareTests
from functional import FunctionalTestCase
@@ -25,6 +26,7 @@ except NameError:
__test__ = {
'timesince': timesince,
'datastructures': datastructures,
'datetime_safe': datetime_safe,
'itercompat': itercompat,
}