Skip to content

Picked one day ago, when is used in GMT+02:00 #99

@nasko-m

Description

@nasko-m

If is picked today, the result is yesterday.

if (options.useIsoDateFormat) { return new Date(year, month - 1, day, 0, 0, 0).toISOString().substring(0, 10); }

must be replaced with

if (options.useIsoDateFormat) { return new Date(year, month - 1, day, 0, - new Date().getTimezoneOffset(), 0).toISOString().substring(0, 10); }

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