Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Date.monthList

Date.monthList($flags={}) -> list

Description

Return a list of all twelve month names.

If $flags is -short, their abbreviations will be used.

Date.monthList()
//= ['January', 'February', 'March', 'April', ...]

Date.monthList(-short)
//= ['Jan', 'Feb', 'Mar', 'Apr', ...]

See Also