ungana

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README

commit c74f0c12317a67604574494e376d95debea77779
parent e9ec3b2c5ba531d344273d5bbcbc05c07aa165eb
Author: Carlosokumu <carlosokumu254@gmail.com>
Date:   Fri, 14 Nov 2025 09:46:43 +0300

fix: make datetime.datetime always a real type and avoid shadowing.

Diffstat:
Mungana/ical/ical_helper.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ungana/ical/ical_helper.py b/ungana/ical/ical_helper.py @@ -97,7 +97,7 @@ class ICalHelper: if hasattr(value, "dt"): value = value.dt - if isinstance(value, datetime): + if isinstance(value, datetime.datetime): if value.tzinfo is None and tzid: return value.replace(tzinfo=ZoneInfo(tzid)) return value