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

在 v2.5.0 改变了数据库反序列化的行为 #275

Open
shuqingzai opened this issue Dec 30, 2024 · 2 comments
Open

在 v2.5.0 改变了数据库反序列化的行为 #275

shuqingzai opened this issue Dec 30, 2024 · 2 comments
Labels
Bug Report a reproducible bug or regression

Comments

@shuqingzai
Copy link

Hello,

因为在 #251 改变了 Scan 的实现,See: #251 (comment)

导致如果数据库的数据是 空字符串 时,无法解析为有效时间,导致报错

golang version: v1.23.4

carbon version: v2.5.2

time zone: such as Japan

I expected to get:

2020-08-08 13:14:15

But I actually get:

2020-08-07 13:14:15

Thanks!

@shuqingzai shuqingzai added the Bug Report a reproducible bug or regression label Dec 30, 2024
@shuqingzai
Copy link
Author

使用 JSON 序列化与反序列化也有同样的问题,追踪提交应该是 34be5ba
这是一个破坏性行为,导致程序不可用

@gouguoyin
Copy link
Collaborator

Thank you for your feedback. I will review and fix it

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
Projects
None yet
Development

No branches or pull requests

2 participants