File:
src/offset.ts
Bug:
The offset function returns +NaN:NaN when called with non 4 digit year date input like
This is because the Intl.DateTimeFormat.prototype.formatToParts function being used in line 24 does not pad the year number.
Solution:
Add padding for the year in line 38