Initial Save

This commit is contained in:
jackbeeby
2025-03-28 12:30:19 +11:00
parent e381994f19
commit d8773925e8
9910 changed files with 982718 additions and 0 deletions

View 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
};