Skip to content

Commit f347c53

Browse files
committed
fixup! fixup! fixup! deps: update ICU to 72.1
1 parent 27dd1c4 commit f347c53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/parallel/test-intl.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ if (!common.hasIntl) {
9797
// Test format
9898
{
9999
const localeString = date0.toLocaleString(['en'], optsGMT);
100-
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
100+
if (Number(process.versions.cldr) >= 42) {
101+
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
102+
} else {
103+
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
104+
}
101105
}
102106
// number format
103107
{

0 commit comments

Comments
 (0)