Skip to content

关于时间戳格式化成时间格式 #3407

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

Open
srcker opened this issue Mar 17, 2025 · 0 comments
Open

关于时间戳格式化成时间格式 #3407

srcker opened this issue Mar 17, 2025 · 0 comments
Labels
question Further information is requested

Comments

@srcker
Copy link

srcker commented Mar 17, 2025

请描述您的问题

在springboot3中 format时间没有生效 还是返回

{"id":5,"create_time":20250317110356}
    // 创建时间(Unix时间戳 毫秒)
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JSONField(name = "create_time",ordinal = 14, format = "yyyy-MM-dd HH:mm:ss")
    private Long createTime;
@srcker srcker added the question Further information is requested label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant