in packages/rc-components/rc-time-picker-tz/src/utils.ts [1:12]
export function getTimeZone() {
let timeZone;
if (Intl && Intl.DateTimeFormat && Intl.DateTimeFormat().resolvedOptions) {
const options = Intl.DateTimeFormat().resolvedOptions();
if (options && options.timeZone) {
timeZone = options.timeZone;
}
}
return timeZone;
}