From 9f90b78201ea0c9bd63ac130e7caf90eb4b3a733 Mon Sep 17 00:00:00 2001 From: Milos Paunovic Date: Mon, 1 Aug 2022 08:53:58 +0200 Subject: [PATCH] feat(docs): Update date-utils.md (#14091) --- docs/src/pages/quasar-utils/date-utils.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/quasar-utils/date-utils.md b/docs/src/pages/quasar-utils/date-utils.md index 7b9e836aac3..805dd59756b 100644 --- a/docs/src/pages/quasar-utils/date-utils.md +++ b/docs/src/pages/quasar-utils/date-utils.md @@ -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)