Skip to content

Commit 2df60a7

Browse files
fix: param doc
1 parent 9174447 commit 2df60a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: packages/use-intl/src/core/createFormatter.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ export default function createFormatter({
127127
}
128128

129129
function dateTime(
130-
/** If a number is supplied, this is interpreted as a UTC timestamp. */
131-
/** If a string is supplied, this is interpreted as an ISO 8601 string. */
130+
/**
131+
* If a number is supplied, this is interpreted as a UTC timestamp.
132+
*
133+
* If a string is supplied, this is interpreted as an ISO 8601 string. */
132134
value: Date | number | string,
133135
/** If a time zone is supplied, the `value` is converted to that time zone.
134136
* Otherwise the user time zone will be used. */

0 commit comments

Comments
 (0)