Skip to content

Commit

Permalink
feat(docs): Update date-utils.md (#14091)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored Aug 1, 2022
1 parent 7a373b6 commit 9f90b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/quasar-utils/date-utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ To mutate the original date object by setting it to the start of a unit of time
```js
import { date } from 'quasar'

let newDate = new Date(2000)
let newDate = new Date('2000')
// set to beginning of year 2000 (January 1st, 2000, 00:00:00.000)
newDate = date.startOfDate(newDate, 'year')
// set to end of year 2000 (December 31st, 2000, 23:59:59.999)
Expand Down

0 comments on commit 9f90b78

Please # to comment.