Skip to content

Commit 23c5de3

Browse files
mhdawsontargos
authored andcommitted
doc: fix icu-small example
Running the same in the icu doc shows that for icu-small the output is January instead of M01. Update the example in the doc to match. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #43591 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Steven R Loomis <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 48ee6b9 commit 23c5de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/intl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
103103
console.log(english.format(january));
104104
// Prints "January"
105105
console.log(spanish.format(january));
106-
// Prints "M01" on small-icu
106+
// Prints either "M01" or "January" on small-icu, depending on the user’s default locale
107107
// Should print "enero"
108108
```
109109

0 commit comments

Comments
 (0)