summaryrefslogtreecommitdiff
path: root/django/utils/timezone.py
AgeCommit message (Collapse)Author
2013-01-31Fixed #19708 -- Exception in timezone.override(None).Aymeric Augustin
Thanks rafales.
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-04-29Simplified timezones tests with settings_changed.Aymeric Augustin
All relevant state is now properly reset whenever TIME_ZONE or USE_TZ are changed in tests.
2012-04-29Fixed #17992 -- Added a public API for localtime.Aymeric Augustin
Thanks Bradley Ayers for the report.
2012-03-03Made django.utils.timezone.localtime a private API -- it's too specific to ↵Aymeric Augustin
the template engine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-26Fixed #17715 -- Updated the tutorial for time zone support, plus a few other ↵Aymeric Augustin
improvements. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-02Fixed a stupid bug in the implementation of timezone.make_aware.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-23Fixed django.utils.timezone.__all__ to include correct function names.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-25Fixed #17294 -- Supported nullable DateTimeFields when time zone support is ↵Aymeric Augustin
enabled. Thanks pressureman for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-21Fixed #17274 -- Accepted TIME_ZONE = None when USE_TZ = True. Thanks ↵Aymeric Augustin
pressureman for the report. This problem only occured when pytz is installed. It's still strongly recommended to define the correct time zone in TIME_ZONE in order to use pytz' implementation and not the approximation based on system time. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18Fixed #17255 -- Removed "as" prefix from new timezone template filter names ↵Jannis Leidel
for the sake of clarity. Cheers to Aymeric Augustin for bearing with me. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.Aymeric Augustin
For more information on this project, see this thread: http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37