MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / iso_timestamp

Function iso_timestamp

tests/unit/test_issue_duplicate_scripts.py:36–37  ·  view source on GitHub ↗
(value: datetime)

Source from the content-addressed store, hash-verified

34
35
36def iso_timestamp(value: datetime) -> str:
37 return value.astimezone(UTC).strftime('%Y-%m-%dT%H:%M:%SZ')
38
39
40def test_auto_close_parse_args_rejects_invalid_repository_format(monkeypatch, capsys):

Calls

no outgoing calls

Tested by

no test coverage detected