Hi, I may have found an issue related to timezones: the lib uses toISOString() internally to convert dates to strings, but this crops the timezone info by converting the date to UTC. This may be a problem when we need the timezone. I suggest adding an option to keep the timezone. As ISO8601 allows timezone data, this shouldn't break the API.
I can prepare a PR if you're ok with that?
Hi, I may have found an issue related to timezones: the lib uses
toISOString()internally to convert dates to strings, but this crops the timezone info by converting the date to UTC. This may be a problem when we need the timezone. I suggest adding an option to keep the timezone. As ISO8601 allows timezone data, this shouldn't break the API.I can prepare a PR if you're ok with that?