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