This is no longer used. It was used in just a couple of places
and was fixing a difference between PHP time zone and browser time.
We rely on WordPress to set PHP timezone to UTC and we use the site's
timezone on the client so the fix is no longer useful.
[MAILPOET-6142]
- Convert date.js to typescript and define types
- Fix test script to include ts tests as well
- Make eslint for ts tests work correct and recognize mocha
[MAILPOET-4023]