From d4b6c2795485190bad02226740706ae7696a25b3 Mon Sep 17 00:00:00 2001 From: rg3915 Date: Tue, 2 Jan 2024 09:57:50 -0300 Subject: [PATCH] bugfix: Remove is_dst from _timezone_format from guessers.py. #119 --- django_seed/guessers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_seed/guessers.py b/django_seed/guessers.py index 15d485c..8e9f280 100644 --- a/django_seed/guessers.py +++ b/django_seed/guessers.py @@ -24,7 +24,7 @@ def _timezone_format(value): :return: A locale aware datetime """ if getattr(settings, 'USE_TZ', False): - return timezone.make_aware(value, timezone.get_current_timezone(), is_dst=False) + return timezone.make_aware(value, timezone.get_current_timezone()) return value