Deprecate utility tag
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: isSameDate
|
||||
tags: date,utility,beginner
|
||||
tags: date,beginner
|
||||
---
|
||||
|
||||
Check if a date is the same as another date.
|
||||
@ -13,4 +13,4 @@ const isSameDate = (dateA, dateB) => dateA.toISOString() === dateB.toISOString()
|
||||
|
||||
```js
|
||||
isSameDate(new Date(2010, 10, 20), new Date(2010, 10, 20)); // true
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user