iamkun / iamkun/dayjs

When instantiate and format the Date object shows an earlier date

Open
#2,296 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

### Description
i'm just running this in the node console:
![image](https://user-images.githubusercontent.com/49282275/233873332-e3940282-9dd5-4cb1-8246-353403d1b76d.png)

### Expected behavior
I'm expecting having `2022-01-02`.

### Current behavior
![image](https://user-images.githubusercontent.com/49282275/233873349-5e9d11d5-e63c-4f18-96ac-25c8c90abc25.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.