MCPcopy
hub / github.com/cherrypy/cherrypy / LazyRfc3339UtcTime

Class LazyRfc3339UtcTime

cherrypy/_cplogging.py:452–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450
451
452class LazyRfc3339UtcTime(object):
453 def __str__(self):
454 """Return datetime in RFC3339 UTC Format."""
455 iso_formatted_now = datetime.datetime.now(
456 datetime.timezone.utc,
457 ).isoformat('T')
458 return f'{iso_formatted_now!s}Z'

Callers 1

accessMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…