Skip to content

Commit

Permalink
Enhance comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed May 21, 2024
1 parent 275a403 commit 8bbaaa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/use-intl/src/core/createFormatter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ export default function createFormatter({
}

function dateTime(
/** If a number is supplied, this is interpreted as a UTC timestamp. */
/** If a number is supplied, this is interpreted as a UTC timestamp.
* If a string is supplied, this is interpreted as an ISO 8601 string. */
value: Date | number | string,
/** If a time zone is supplied, the `value` is converted to that time zone.
* Otherwise the user time zone will be used. */
Expand Down

0 comments on commit 8bbaaa7

Please sign in to comment.