From 4eabc3fc4e82c91741173a1da8b1a450dbe40d85 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 27 Jun 2022 12:51:07 -0400 Subject: [PATCH 1/2] 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 --- 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..6e07b9518377ab 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 "January" on small-icu // Should print "enero" ``` From ebc077d074047a76d798f6676b5f294fd97b108e Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 27 Jun 2022 15:57:02 -0400 Subject: [PATCH 2/2] Update doc/api/intl.md Co-authored-by: Steven R. Loomis --- 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 6e07b9518377ab..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 "January" on small-icu +// Prints either "M01" or "January" on small-icu, depending on the user’s default locale // Should print "enero" ```