rfc822-date

0.0.3 • Public • Published

rfc822-date

Convert a Date object to a rfc-822 date string

RFC 1123

RFC 1123 is an update to RFC 822 which specifies that the year MUST be 4 digits. As this library has always used 4 digits for the year, it is compatible with both.

usage

var rfc822Date = require('rfc822-date');

console.log(rfc822Date(new Date())); // 'Mon, 13 Sep 2013 14:27:00 +0200'

License

MIT © Thomas Jensen

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    201
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    201
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i rfc822-date

Weekly Downloads

201

Version

0.0.3

License

MIT

Last publish

Collaborators

  • thomas-jensen