easy-thumbnails icon indicating copy to clipboard operation
easy-thumbnails copied to clipboard

AmbiguousTimeError on DST transition

Open C0piIot opened this issue 8 years ago • 0 comments

This weekend our django app has been failing during DST transition. The cluprit seems to be in this line in utils.py: https://github.com/SmileyChris/easy-thumbnails/blob/master/easy_thumbnails/utils.py#L158

Documentation in django latest versions says it is necessary to pass a third parameter to make_aware during DST transitions, otherwise it throws an exception https://docs.djangoproject.com/en/1.11/ref/utils/#django.utils.timezone.make_aware

C0piIot avatar Oct 30 '17 08:10 C0piIot