часовой пояс NPM в следующем JS
const [timezone, setTimezone] = useState(
Intl.DateTimeFormat().resolvedOptions().timeZone
)
Purple Team
const [timezone, setTimezone] = useState(
Intl.DateTimeFormat().resolvedOptions().timeZone
)
// next.config.js
const withTM = require('next-transpile-modules')(['react-timezone-select']);
module.exports = withTM({
...
})