From 2f6fb98cbc7fb46f27208d2cf2920c951123c005 Mon Sep 17 00:00:00 2001 From: bhupesh7shakya <54110001+bhupesh7shakya@users.noreply.github.com> Date: Mon, 8 Apr 2024 08:31:09 +0545 Subject: [PATCH] removed depreciated paramenter and support for lastest version more 4.0 and above.. --- 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