Skip to content

Date timezone #244

@sylvainbx

Description

@sylvainbx

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions