'JS Date doesn't react to DST change

I have tested new Date() in the console and the return value doesn't depend on DST. But my PC's clock does. The difference between my PC's time and my browser's time
Look at the time difference in console and in the Windows taskbar. Thay are not the same.
How to fix that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source