We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9174447 commit 2df60a7Copy full SHA for 2df60a7
packages/use-intl/src/core/createFormatter.tsx
@@ -127,8 +127,10 @@ export default function createFormatter({
127
}
128
129
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. */
+ /**
+ * 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. */
134
value: Date | number | string,
135
/** If a time zone is supplied, the `value` is converted to that time zone.
136
* Otherwise the user time zone will be used. */
0 commit comments