seasons-dates
v0.0.1
Published
Returns summer, winter, autumn and spring seasons dates given a specifc year.
Downloads
51
Maintainers
Readme
Seasons Dates
Installation
npm install seasons-dates
Usage
var Seasons = require('seasons-dates');
var seasons = new Seasons('2017');
console.log(seasons);
/*
returns multiple Date objects:
{
"spring":"2017-03-20T10:29:00.000Z",
"summer":"2017-06-21T03:24:00.000Z",
"autumn":"2017-09-22T19:01:00.000Z",
"winter":"2017-12-21T16:28:00.000Z"
}
*/
Note: The dates might not be accurate, consider the code in beta release.
Credits
License
The MIT License (MIT). Please see License File for more information.