View Source Franklin.DateTimeFormatter (Franklin v0.1.0)

Provides functions that help format DateTime values into common formats that are not supplied by the standard library.

Link to this section Summary

Functions

Returns a string representation of the given DateTime value in the format expected by the RFC 2822 specification.

Link to this section Functions

@spec to_rfc_2822(DateTime.t()) :: String.t()

Returns a string representation of the given DateTime value in the format expected by the RFC 2822 specification.