Tautvydas Baliukynas
Tautvydas Baliukynas
Load the [`CustomParseFormat`](https://day.js.org/docs/en/plugin/custom-parse-format) plugin and provide one of the [localized formats from this list](https://day.js.org/docs/en/display/format#list-of-localized-formats) when calling `dayjs()`: ```ts import dayjs from 'dayjs'; import customParseFormat from 'dayjs/plugin/customParseFormat'; import 'dayjs/locale/de'; dayjs.extend(customParseFormat); dayjs.locale('de');...
Also, it seems that V8 JavaScript engine returns an integer part of the offset when calling `Date.prototype.getTimezoneOffset()`. Because of that, `new Date("1900-06-01T12:00:00Z").getTimezoneOffset()` returns `-122` in Node.js and Chromium-based browsers, but...