MCPcopy Index your code
hub / github.com/RustPython/RustPython / UTC

Class UTC

Lib/test/test_logging.py:4482–4489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4480ZERO = datetime.timedelta(0)
4481
4482class UTC(datetime.tzinfo):
4483 def utcoffset(self, dt):
4484 return ZERO
4485
4486 dst = utcoffset
4487
4488 def tzname(self, dt):
4489 return 'UTC'
4490
4491utc = UTC()
4492

Callers 1

test_logging.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected