MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / format_timestamp

Function format_timestamp

src/command_system/export_command.py:78–80  ·  view source on GitHub ↗

``YYYY-MM-DD-HHMMSS`` in local time (port of export.tsx:11-19).

(date: datetime)

Source from the content-addressed store, hash-verified

76
77
78def format_timestamp(date: datetime) -> str:
79 """``YYYY-MM-DD-HHMMSS`` in local time (port of export.tsx:11-19)."""
80 return date.strftime("%Y-%m-%d-%H%M%S")
81
82
83def _message_type(msg: Any) -> Any:

Callers 3

_default_filenameFunction · 0.85

Calls

no outgoing calls

Tested by 2