kopia lustrzana https://github.com/collective/icalendar
Update src/icalendar/timezone/tzp.py
Co-authored-by: Steve Piercy <web@stevepiercy.com>pull/623/head
rodzic
e5785ec966
commit
0d158c6beb
|
@ -52,7 +52,7 @@ class TZP:
|
|||
"""Use the default timezone provider."""
|
||||
self.use(DEFAULT_TIMEZONE_PROVIDER)
|
||||
|
||||
def localize_utc(self, dt: datetime.datetime)-> datetime.datetime:
|
||||
def localize_utc(self, dt: datetime.datetime) -> datetime.datetime:
|
||||
"""Return the datetime in UTC.
|
||||
|
||||
If the datetime has no timezone, UTC is set.
|
||||
|
|
Ładowanie…
Reference in New Issue