MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / to_w3c_string

Method to_w3c_string

src/pendulum/datetime.py:448–452  ·  view source on GitHub ↗

Format the instance as W3C.

(self)

Source from the content-addressed store, hash-verified

446 return self._to_string("rss")
447
448 def to_w3c_string(self) -> str:
449 """
450 Format the instance as W3C.
451 """
452 return self._to_string("w3c")
453
454 def _to_string(self, fmt: str, locale: str | None = None) -> str:
455 """

Callers 1

test_to_w3c_stringFunction · 0.80

Calls 1

_to_stringMethod · 0.95

Tested by 1

test_to_w3c_stringFunction · 0.64