Skip to content

DST issue #1

@Darrken

Description

@Darrken

Daylight Savings Time seems to be an issue in the plugin.

    let utcDate = dayjs("2016-11-18:00:00:00+00:00");
    console.log(utcDate.utc().format());  // 2016-11-17T23:00:00+00:00

I'd expect 2016-11-18T00:00:00+00:00 to be the value returned.
I found that dates including and between 11/7 - 3/13 have this problem.

Or am I just missing something? (My local offset is -7, observing DST currently.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions