rfc822-date
Convert dates to rfc822 format
Last updated 6 years ago by thomas-jensen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rfc822-date 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (6 years ago)

3 Versions

  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 24
Last Day 0
Last Week 24
Last Month 140
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |