
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
dayjs-timezone-iana-plugin
Advanced tools
DayJS timezone plugin alternative to manage DST correctly, using https://www.iana.org/time-zones
npm i dayjs-timezone-iana-plugin
In the code:
// -> remove dayjs.extend(timezone)
dayjs.extend(utc)
dayjs.extend(require('dayjs-timezone-iana-plugin'))
dayjs('2014-06-01 12:00').tz('America/New_York')
// You can set a default timezone
dayjsFactory.tz.setDefault('America/New_York')
The code is quite simple and is largely inspired by moment-timezone.
It includes the latest database IANA 2021e (96KB compressed). It takes more space than the method used by DayJS or Luxon. But it works even if NodeJS is compiled with small-icu.
latest.json https://github.com/moment/moment-timezone/blob/develop/data/unpacked/latest.jsonnpm run optimize0.2.0
0.1.0
Maintained by https://carbone.io/ and https://www.easilys.com/
FAQs
DayJS timezone plugin alternative to manage DST correctly
We found that dayjs-timezone-iana-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.