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

Method to_rfc2822_string

src/pendulum/datetime.py:430–434  ·  view source on GitHub ↗

Format the instance as RFC 2822.

(self)

Source from the content-addressed store, hash-verified

428 return self._to_string("rfc1123")
429
430 def to_rfc2822_string(self) -> str:
431 """
432 Format the instance as RFC 2822.
433 """
434 return self._to_string("rfc2822")
435
436 def to_rfc3339_string(self) -> str:
437 """

Callers 1

test_to_rfc2822_stringFunction · 0.80

Calls 1

_to_stringMethod · 0.95

Tested by 1

test_to_rfc2822_stringFunction · 0.64