1 | # month
|
2 |
|
3 | ```js
|
4 | // usage
|
5 | chance.month()
|
6 | ```
|
7 |
|
8 | Generate a random month.
|
9 |
|
10 | ```js
|
11 | chance.month();
|
12 | => 'January'
|
13 | ```
|
14 |
|
15 | By default, returns just the full name.
|
16 |
|
17 | Optionally specify raw to get the whole month object consisting of name,
|
18 | short_name, and numeric.
|
19 |
|
20 | ```js
|
21 | chance.month({raw: true});
|
22 | => {name: 'October', short_name: 'Oct', numeric: '10'}
|
23 | ```
|