Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### isWeekend
|
||||
---
|
||||
title: isWeekend
|
||||
tags: date,beginner
|
||||
---
|
||||
|
||||
Results in a boolean representation of a specific date.
|
||||
|
||||
@ -13,4 +16,4 @@ const isWeekend = (t = new Date()) => {
|
||||
|
||||
```js
|
||||
isWeekend(); // 2018-10-19 (if current date is 2018-10-18)
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user