Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 924 Bytes

.verb.md

File metadata and controls

55 lines (36 loc) · 924 Bytes

{%= name %} {%= badge("fury") %}

{%= description %}

{%= include("install-npm", {save: true}) %}

Usage

var month = require('{%= name %}');

month();
//=> 'January' (current month full name)

month('M');
//=> '1' (current month number)

month('MM');
//=> '01' (current month number, zero-filled)

month('MMM');
//=> 'Jan' (current month abbreviation)

month('MMMM');
//=> 'January' (current month full name)

month('January');
//=> '12' (number of the given month number)

month(1);
//=> 'January' (name of the given month number)

month(2);
//=> 'February'

Related projects

{%= related(['year', 'month', 'months', 'days', 'seconds', 'weekday', 'iso-week', 'week', 'o-clock'], {remove: name}) %}

Running tests

{%= include("tests") %}

Contributing

{%= include("contributing") %}

Author

{%= include("author") %}

License

{%= copyright() %} {%= license() %}


{%= include("footer") %}