SB-6.1-PRE
This commit is contained in:
1 parent
690169a409
commit
358a25f522
3760 files changed
+300059
-36
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
# weekday
|
||||
|
||||
```js
|
||||
// usage
|
||||
chance.weekday()
|
||||
chance.weekday({weekday_only: true})
|
||||
```
|
||||
|
||||
Return a weekday
|
||||
|
||||
```js
|
||||
chance.weekday();
|
||||
=> 'Tuesday'
|
||||
```
|
||||
|
||||
By default, weekday_only is false. If set to true it will never return Saturday or Sunday.
|
||||
Reference in new issue
Block a user