SB-6.1-PRE
This commit is contained in:
1 parent
690169a409
commit
358a25f522
3760 files changed
+300059
-36
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
# month
|
||||
|
||||
```js
|
||||
// usage
|
||||
chance.month()
|
||||
```
|
||||
|
||||
Generate a random month.
|
||||
|
||||
```js
|
||||
chance.month();
|
||||
=> 'January'
|
||||
```
|
||||
|
||||
By default, returns just the full name.
|
||||
|
||||
Optionally specify raw to get the whole month object consisting of name,
|
||||
short_name, and numeric.
|
||||
|
||||
```js
|
||||
chance.month({raw: true});
|
||||
=> {name: 'October', short_name: 'Oct', numeric: '10'}
|
||||
```
|
||||
Reference in new issue
Block a user