Skip to content

Incorrect output depending on system's time zone #93

@clement911

Description

@clement911
console.log(ssf.format('yyyy-mm', new Date('2023-01-01T00:00:00')))

2023-01 => correct

Change computer timezone to Alaska

console.log(ssf.format('yyyy-mm', new Date('2023-01-01T00:00:00')))

2022-12 => INCORRECT

Note that I tried to raise the issue on but there seems to be an error when signing up for an account: "The CAPTCHA code is incorrect." even though not captcha was displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions