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

[BugFix] Fix incorrect result for date formatting #366

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dusukang
Copy link

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Which issues of this PR fixes :

Fixes #

Problem Summary(Required) :

When the job is in some time zones, Date type data will be converted to the previous day at 00:00 ~ 08:00. e.g. 2024-06-12 will be converted to 2024-06-11

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr will affect users' behaviors
  • This pr needs user documentation (for new or modified features or behaviors)
  • I have added documentation for my new feature or new function

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


dusukang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dusukang
Copy link
Author

When SimpleDateFormat formats the date and time, it uses the default time zone of the JVM by default. If the default time zone of the JVM does not match the actual requirements, it will cause deviations in the time display.

@dusukang dusukang marked this pull request as draft June 16, 2024 12:35
@dusukang dusukang marked this pull request as ready for review June 16, 2024 12:37
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