MCPcopy
hub / github.com/cft0808/edict / now_iso

Function now_iso

scripts/utils.py:27–29  ·  view source on GitHub ↗

返回 UTC ISO 8601 时间字符串(末尾 Z)

()

Source from the content-addressed store, hash-verified

25
26
27def now_iso():
28 """返回 UTC ISO 8601 时间字符串(末尾 Z)"""
29 return datetime.datetime.now(datetime.timezone.utc).isoformat().replace('+00:00', 'Z')
30
31
32def today_str(fmt='%Y%m%d'):

Callers 15

_append_auditFunction · 0.90
modifierFunction · 0.90
cmd_memoryFunction · 0.90
cmd_task_memoFunction · 0.90
cmd_shared_memoFunction · 0.90
cmd_delegate_resultFunction · 0.90
add_remoteFunction · 0.90
_modifierFunction · 0.90
handle_task_actionFunction · 0.90
handle_archive_taskFunction · 0.90
update_task_todosFunction · 0.90
add_remote_skillFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected