Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format not work #173

Closed
foundVanting opened this issue Jul 9, 2023 · 0 comments
Closed

Format not work #173

foundVanting opened this issue Jul 9, 2023 · 0 comments
Labels
Bug Report a reproducible bug or regression

Comments

@foundVanting
Copy link

Hello,

I encountered an issue with the following code:

fmt.Println(carbon.Now().Format("2006-01-02"))

golang version: ** 1.20.5**

carbon version: ** v2.2.3**

time zone: Asia/Chongqing

I expected to get:

2023-07-06

But I actually get:

2006-01-02

Thanks!

@foundVanting foundVanting added the Bug Report a reproducible bug or regression label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report a reproducible bug or regression
Development

No branches or pull requests

1 participant