79368571

Date: 2025-01-19 07:37:42
Score: 0.5
Natty:
Report link

The region where I am located does not use DST. Inspired by Matt Johnson-Pint's answer, I made the package Which Hemisphere. It is neither based on Moment.js nor DST, but rather based on builtin Intl.

Due to its size, I did not paste it here. The implementation principle is to obtain the time zone name by Intl.DateTimeFormat().resolvedOptions().timeZone, and return the result based on the time zone name.

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
Posted by: typed-sigterm