MCPcopy Create free account
hub / github.com/RASAAS/docmcp-knowledge / _format_date

Method _format_date

scripts/fetch_updates.py:1462–1465  ·  view source on GitHub ↗
(date_str: str)

Source from the content-addressed store, hash-verified

1460
1461 @staticmethod
1462 def _format_date(date_str: str) -> str:
1463 if len(date_str) == 8 and date_str.isdigit():
1464 return f"{date_str[:4]}-{date_str[4:6]}-{date_str[6:8]}"
1465 return date_str
1466
1467
1468# ---------------------------------------------------------------------------

Callers 1

checkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected