-
You don't need to pull in moment-timezone library just to pass the IE11-safe browser timezone to a Java API gist.github.com/jeffsheets/710d1d6dd2f2acb0125a5d624ae915e4
-
including a subtle dig at not needing leftpad too 😉
-
Mock the Intl and Date globals in Jest (with this one simple trick! 😉) because all code needs tests, and you don't need an extra 3rd party mock library to do it sheetsj.com/2021/05/mock-intl-and-date-globals-in-jest.html