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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user