-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: Correct dayOfWeek letter for SimpleDateTimeFormatter
#15517
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
Conversation
✅ Deploy Preview for meta-velox canceled.
|
|
@NEUpanning Could you please take a look? |
|
LGTM, relates to #10354. |
|
@rui-mo @jinchengchenghh Could you please take a look? |
rui-mo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wForget Thanks for the fix. Does the letter differ across Java versions? Since this is a fix in "functions/lib", could it have any impact on Presto’s behavior?
I checked java 8/17/21 and all of them use
It seems not, |
zml1206
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After it was merged, #15535 will rebase.
|
Created #15582 to track the workflow failure. |
dayOfWeek letter for SimpleDateTimeFormatter
|
@kagamiori has imported this pull request. If you are a Meta employee, you can view this in D87597881. |
|
@kagamiori merged this pull request in ffa685d. |
In Velox,
ewas incorrectly used as thedayOfWeekletter inSimpleDateTimeFormatter.velox/velox/functions/lib/DateTimeFormatter.cpp
Lines 2023 to 2025 in 974e77c
This PR fixes this by using the letter
uto be consistent with Java.https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html
Closes #15516.