Skip to content

Incorrect output depending on system's time zone #93

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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