/rfc-822

Build an RFC-822 date-time with JavaScript for RSS feeds.

Primary LanguageJavaScriptMIT LicenseMIT

Build valid RFC-822 dates with plain JavaScript

To test

Navigate to the root of the project and run:

node index.js

This will log out two examples provided in the code: one date in GMT timezone, and one date in British Summertime timezone.

Change the example dates in the code to test your own.

! Disclaimer on timezones

You may need to add support for your own timezones in the code.

View the supporting blog post