ssf icon indicating copy to clipboard operation
ssf copied to clipboard

Incorrect output depending on system's time zone

Open clement911 opened this issue 2 years ago • 0 comments

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.

clement911 avatar Jun 27 '23 00:06 clement911