Skip to content

Commit

Permalink
docs: update usage of parseStringToDateValue (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
epr3 authored Nov 1, 2024
1 parent 762f451 commit 2f8342a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/guides/dates.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const date = new CalendarDate(1995, 8, 18)
const minDate = new CalendarDate(1995, 8, 1)
const maxDate = new CalendarDate(1995, 8, 31)

parseStringToDateValue('1995-08-18') // returns a DateValue object
parseStringToDateValue('1995-08-18', date) // returns a DateValue object
toDate(date) // returns a Date object
isCalendarDateTime(date) // returns false
isZonedDateTime(date) // returns false
Expand Down

0 comments on commit 2f8342a

Please sign in to comment.