Skip to content

Commit

Permalink
fix: param doc
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmunillas committed Jan 10, 2024
1 parent 9174447 commit 2df60a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/use-intl/src/core/createFormatter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ export default function createFormatter({
}

function dateTime(
/** 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. */
/**
* 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 2df60a7

Please sign in to comment.