Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! fixup! fixup! deps: update ICU to 72.1
  • Loading branch information
targos committed Oct 20, 2022
commit f347c53855f82d60acbce2b24b4c01436ee09af2
6 changes: 5 additions & 1 deletion test/parallel/test-intl.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ if (!common.hasIntl) {
// Test format
{
const localeString = date0.toLocaleString(['en'], optsGMT);
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
if (Number(process.versions.cldr) >= 42) {
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
} else {
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
}
}
// number format
{
Expand Down