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

ParseByFormat()方法部分情况下无效 #70

Closed
open-git opened this issue Jul 16, 2021 · 3 comments
Closed

ParseByFormat()方法部分情况下无效 #70

open-git opened this issue Jul 16, 2021 · 3 comments
Labels
Bug Report a reproducible bug or regression Fixed Bug fixed

Comments

@open-git
Copy link
Contributor

carbon.ParseByFormat("It is 2020-08-05 13:14:15", "It is Y-m-d H:i:s").ToDateTimeString()输出空,错误信息

the value "It is 2020-08-05 13:14:15" can't parse string as carbon

@180909
Copy link
Contributor

180909 commented Jul 16, 2021

感觉跟这个issue一样,#56

@open-git
Copy link
Contributor Author

改成carbon.ParseByFormat("It is 2020-08-05 13:14:15", "\I\t \i\s Y-m-d H:i:s").ToDateTimeString()也是输出空

@gouguoyin
Copy link
Member

改成carbon.ParseByFormat("It is 2020-08-05 13:14:15", "\I\t \i\s Y-m-d H:i:s").ToDateTimeString()也是输出空

v1.4.3版本已修复

@gouguoyin gouguoyin added Bug Report a reproducible bug or regression Fixed Bug fixed labels Jul 24, 2021
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 Fixed Bug fixed
Development

No branches or pull requests

3 participants