This plugin provides a way to get the date of Gregorian Easter Sunday for a given year.
moment.easter(year)
moment.easter(2014).format('YYYY/MM/DD');
// 2014/04/20
moment#easter()
moment({y: 2015}).easter().format('YYYY/MM/DD');
// 2015/04/05
If you would like to contribute enhancements or fixes, please do the following:
- Fork the plugin repository.
- Hack on a separate topic branch created from the latest
master
. - Commit and push the topic branch.
- Make a pull request.
- Be patient. ;-)
Please note that modications should follow these coding guidelines:
- Indent is 4 spaces.
- Code should pass jslint linter.
- Vertical whitespace helps readability, don’t be afraid to use it.
Thank you for helping out!
See LICENSE for details.