Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* eslint-disable no-console */
require('@js-joda/timezone');
const { Instant, ZoneRulesProvider, ZoneId } = require('@js-joda/core');
const now = Instant.now();
for(const zoneId of ZoneRulesProvider.getAvailableZoneIds()) {
// console.log(zoneId, ZoneId.of(zoneId).rules().standardOffset(now).toString());
console.log(zoneId, ZoneId.of(zoneId).rules().offset(now).toString());
}
console.log('node-modules-06 done');