1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee
2010-02-13 14:02:32 +00:00
parent b794441951
commit 03924929ba
6 changed files with 27 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ from django.utils.functional import SimpleLazyObject
import timesince
import datastructures
import datetime_safe
import itercompat
import tzinfo
@@ -26,6 +27,7 @@ except NameError:
__test__ = {
'timesince': timesince,
'datastructures': datastructures,
'datetime_safe': datetime_safe,
'itercompat': itercompat,
'tzinfo': tzinfo,
}