Commit ffa685d
fix: Correct
Summary:
In Velox, `e` was incorrectly used as the `dayOfWeek` letter in `SimpleDateTimeFormatter`.
https://github.com/facebookincubator/velox/blob/974e77c1271369755f89825a120c2a1265bf879e/velox/functions/lib/DateTimeFormatter.cpp#L2023-L2025
This PR fixes this by using the letter `u` to be consistent with Java.
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html
Closes facebookincubator#15516.
Pull Request resolved: facebookincubator#15517
Reviewed By: kKPulla
Differential Revision: D87597881
Pulled By: kagamiori
fbshipit-source-id: fa12bc406d96523abdb20e7e268d94b4af38155edayOfWeek letter for SimpleDateTimeFormatter (facebookincubator#15517)1 parent 267ad70 commit ffa685d
File tree
2 files changed
+11
-11
lines changed- velox/functions/lib
- tests
2 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2020 | 2020 | | |
2021 | 2021 | | |
2022 | 2022 | | |
2023 | | - | |
| 2023 | + | |
2024 | 2024 | | |
2025 | 2025 | | |
2026 | 2026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2368 | 2368 | | |
2369 | 2369 | | |
2370 | 2370 | | |
2371 | | - | |
| 2371 | + | |
2372 | 2372 | | |
2373 | 2373 | | |
2374 | | - | |
| 2374 | + | |
2375 | 2375 | | |
2376 | 2376 | | |
2377 | | - | |
| 2377 | + | |
2378 | 2378 | | |
2379 | 2379 | | |
2380 | | - | |
| 2380 | + | |
2381 | 2381 | | |
2382 | 2382 | | |
2383 | 2383 | | |
| |||
2398 | 2398 | | |
2399 | 2399 | | |
2400 | 2400 | | |
2401 | | - | |
| 2401 | + | |
2402 | 2402 | | |
2403 | 2403 | | |
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
2407 | | - | |
| 2407 | + | |
2408 | 2408 | | |
2409 | 2409 | | |
2410 | | - | |
| 2410 | + | |
2411 | 2411 | | |
2412 | 2412 | | |
2413 | 2413 | | |
2414 | | - | |
| 2414 | + | |
2415 | 2415 | | |
2416 | 2416 | | |
2417 | | - | |
| 2417 | + | |
2418 | 2418 | | |
2419 | | - | |
| 2419 | + | |
2420 | 2420 | | |
2421 | 2421 | | |
2422 | 2422 | | |
| |||
0 commit comments