Skip to content

Commit

Permalink
docs: improve parse clarity for undefined portions
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-schroeder committed Feb 9, 2024
1 parent 726717b commit 179aec5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/components/content/Parse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ const parseOptionsProperties = [
<code>format</code> function — including style formats!
</p>
<p>
A <code>Date</code> object in JavaScript is always includes both date and
time. The <code>parse</code> function does not need to include both date
and time, but the resulting <code>Date</code> object will always include
both. For consistent behavior, the undefined portions of the full date
will use the current date at midnight local time.
A <code>Date</code> object in JavaScript is fundamentally a timestamp, in
other words, always includes both date and time. The
<code>parse</code> function does not need to include both date and time,
but the resulting <code>Date</code> object will always include both. For
consistent behavior, the undefined portions of the full date will use the
current date at midnight local time.
</p>
<CalloutInfo>
Because date tokens are sensitive to the locale, you will generally want
Expand Down

0 comments on commit 179aec5

Please sign in to comment.