MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / timezone

Method timezone

src/pendulum/datetime.py:270–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268
269 @property
270 def timezone(self) -> Timezone | FixedTimezone | None:
271 if not isinstance(self.tzinfo, (Timezone, FixedTimezone)):
272 return None
273
274 return self.tzinfo
275
276 @property
277 def tz(self) -> Timezone | FixedTimezone | None:

Calls

no outgoing calls