From 9e32ad6559d0f32456b00c9fc05115f703b2e66b Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 27 Jun 2022 12:51:07 -0400 Subject: [PATCH] doc: fix icu-small example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 PR-URL: https://github.com/nodejs/node/pull/43591 Reviewed-By: James M Snell Reviewed-By: Steven R Loomis Reviewed-By: Tobias Nießen --- doc/api/intl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/intl.md b/doc/api/intl.md index 9d91c590ae0874..3af63ae8a19bd7 100644 --- a/doc/api/intl.md +++ b/doc/api/intl.md @@ -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" ```