-
Notifications
You must be signed in to change notification settings - Fork 141
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
[BUG]Should we use Locale.ENGLISH
for monthName/dayName function
#2844
Comments
@LantaoJin friendly ping:) |
Thanks for reporting this @bugmakerrrrrr . |
Thanks for you context. I found that the MySQL document said that |
That's what I am not quite sure. OpenSearch SQL doesn't provide a system function/variable to set a lc_time_name, if we change it to |
What is the bug?
The monthName/dayName function uses Locale.getDefault to get the display name, which may return different results in different env and cause a test error.
Should we change the locale to
Locale.ENGLISH
?BTW, I found that the locale of
from_unixtime
function isLocale.ENGLISH
.The text was updated successfully, but these errors were encountered: