MCPcopy Create free account
hub / github.com/archlinux/archinstall / timestamp

Function timestamp

archinstall/lib/utils/util.py:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def timestamp() -> str:
11 now = datetime.now(tz=UTC)
12 return now.strftime('%Y-%m-%d %H:%M:%S')
13
14
15def running_from_iso() -> bool:

Callers 1

logMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected