feat(libSceIcu): implement relative date-time formatting #24447
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/24447"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T16:40:38Z.
What
Implement ICU relative date-time formatter creation, disposal, formatted relative dates, and numeric relative dates by forwarding to the bundled ICU 78.1 C API. Guest status and result memory are handled through the guest-memory helpers; formatting overflow reports the required length and leaves the guest output unchanged. Console ICU 68.2 behavior remains unverified.
Tested
Linux: C++20 syntax check with
-Wall -Wextra -Werroragainst the bundled ICU 78.1 headers; debt-fragment validation andgit diff --check; standalone integration harness against system ICU 72.1 covering formatter lifecycle, output, status errors, and buffer overflow. The full AnyPS5 build could not be configured because the installed FreeType 2.12.1 is below the project's required 2.15. The integration harness was not run against bundled ICU 78.1 or a PS5.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-20T16:55:04Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
ac14feba31:tools/check_conventions.pypassed.guest_icu_recovered_signatures_testsfailed to build.Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-20T17:34:21Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
f2fb5128b1:tools/check_conventions.pypassed.guest_icu_recovered_signatures_testsbuilt cleanly.guest_icu_recovered_signatures):core/libs/prx/libSceIcu/RelativeDateTimeFormatter.cppreverted tomainand the new tests kept, the suite fails: Restoring the change makes it pass again.Looks Good To Me
Pull request closed