mail

https://github.com/mikel/mail

Ruby

A Really Ruby Mail Library

Mail::EnvelopeFromElement#formatted_date_time

RFC 4155:
  a timestamp indicating the UTC date and time when the message
  was originally received, conformant with the syntax of the
  traditional UNIX 'ctime' output sans timezone (note that the
  use of UTC precludes the need for a timezone indicator);

Source | Google | Stack overflow

Edit

git clone [email protected]:mikel/mail.git

cd mail

open lib/mail/elements/envelope_from_element.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Mail--EnvelopeFromElement-formatted_date_time-for-pr


# Commit to git

git add lib/mail/elements/envelope_from_element.rbgit commit -m "better docs for Mail::EnvelopeFromElement#formatted_date_time"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Mail--EnvelopeFromElement-formatted_date_time-for-pr

hub pull-request


# Celebrate!