decord/source/13099_getSupportedTimeZones.js
2026-07-21 22:01:30 +00:00

18 lines
580 B
JavaScript

// Module ID: 13099
// Function ID: 99447
// Name: getSupportedTimeZones
// Dependencies: []
// Module 13099 (getSupportedTimeZones)
arg5.getSupportedTimeZones = function getSupportedTimeZones(locale) {
const arg1 = locale;
const timezones = arg1(arg6[1]).timezones;
return timezones.filter((timeZone) => {
let str = timeZone;
if (undefined === timeZone) {
str = "en";
}
const memoizedDateTimeFormat = timeZone(closure_1[0]).createMemoizedDateTimeFormat(str, { timeZone });
memoizedDateTimeFormat.resolvedOptions().timeZone === timeZone;
});
};