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

针对时间精度,默认为毫秒 #1702

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

huangfuProject
Copy link

Purpose of this pull request

解决JdbcUtil格式化时间戳转换为毫秒和提取纳秒的精度问题,修改为默认单位为毫秒,不再进行多余的判断,因为无法判断传入的时间戳是什么类型的

Which issue you fix

Fixes # (1699).

Checklist:

  • [ yes ] I have executed the 'mvn spotless:apply' command to format my code.
  • [ yes ] I have a meaningful commit message (including the issue id, the template of commit message is '[label-type-#issue-id][fixed-module] a meaningful commit message.')
  • [ yes ] I have performed a self-review of my own code.
  • [ yes ] I have commented my code, particularly in hard-to-understand areas.
  • [yes ] I have made corresponding changes to the documentation.
  • [ yes ] I have added tests that prove my fix is effective or that my feature works.
  • [ yes ] New and existing unit tests pass locally with my changes.
  • [ yes ] I have checked my code and corrected any misspellings.
  • [ yes ] My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.)

@FlechazoW FlechazoW linked an issue Jun 11, 2023 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

时间精度问题
2 participants