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 <mdawson@devrus.com>

PR-URL: https://github.com/nodejs/node/pull/43591
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Michael Dawson authored and Michaël Zasso committed 2022-07-12 07:41:44 +02:00
1 parent 48ee6b9dc9
commit 23c5de3579
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ const spanish = new Intl.DateTimeFormat('es', { month: 'long' });
console.log(english.format(january));
// Prints "January"
console.log(spanish.format(january));
// Prints "M01" on small-icu
// Prints either "M01" or "January" on small-icu, depending on the user’s default locale
// Should print "enero"
```