Commit 18ef378
fix: correct relative time format for yesterday
1. Use UDAT_ABSOLUTE_DAY instead of UDAT_DIRECTION_LAST + UDAT_RELATIVE_DAYS
2. Remove the redundant numeric argument that was passed to formatter->format()
3. Ensure the ICU API call matches the correct overload for absolute day formatting
Log: Fix yesterday's relative time formatting by using correct ICU API arguments
fix: 修复"昨天"相对时间格式错误
1. 使用 UDAT_ABSOLUTE_DAY 替换 UDAT_DIRECTION_LAST + UDAT_RELATIVE_DAYS
2. 移除传递给 formatter->format() 的多余数值参数
3. 确保 ICU API 调用匹配绝对日期格式的正确重载
Log: 修复昨天相对时间格式化问题,使用正确的 ICU API 参数
PMS: BUG-3591171 parent 66d5690 commit 18ef378
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
0 commit comments