feat(navigation): add prominent validation quickstart action
This commit is contained in:
parent
0bbcaba211
commit
9c6b184e39
28614 changed files with 4356173 additions and 23 deletions
18
validation-suite/frontend/atlas/node_modules/es-abstract/2025/SystemTimeZoneIdentifier.js
generated
vendored
Normal file
18
validation-suite/frontend/atlas/node_modules/es-abstract/2025/SystemTimeZoneIdentifier.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
var callBind = require('call-bind');
|
||||
|
||||
var I402 = typeof Intl === 'undefined' ? null : Intl;
|
||||
var DateTimeFormat = !!I402 && I402.DateTimeFormat;
|
||||
var resolvedOptions = !!DateTimeFormat && callBind(DateTimeFormat.prototype.resolvedOptions);
|
||||
|
||||
// https://262.ecma-international.org/15.0/#sec-systemtimezoneidentifier
|
||||
|
||||
module.exports = function SystemTimeZoneIdentifier() {
|
||||
if (DateTimeFormat && resolvedOptions) {
|
||||
return resolvedOptions(new DateTimeFormat()).timeZone; // steps 2 - 3
|
||||
|
||||
}
|
||||
|
||||
return 'UTC'; // step 1
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue