Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
4480
ZERO = datetime.timedelta(0)
4481
4482
class
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
4491
utc = UTC()
4492
Callers
1
test_logging.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected