-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
targos
Author
Member
|
||
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM'); | ||
} else { | ||
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM'); | ||
} | ||
} | ||
// number format | ||
{ | ||
|
or better ===