NPM zona waktu di JS berikutnya
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({
...
})