fix(libSceSystemService): preserve host local time with non-hour DST #28891
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/28891"
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 RuiRDA on 2026-12-04T13:35:48Z.
What
Project the host’s current local offset onto the console’s offset-plus-summer-time representation so adding the console summer-time hour still yields the correct wall clock for zones such as Lord Howe. The debt entry records the console behavior still to verify.
Tested
Linux, GCC 14. The standalone SystemServiceDateTimeLocale fixture passed, including the Lord Howe standard-time and half-hour daylight-saving cases. The full guest test was not run here.
git diff --checkand the conventions checker passed. I searched for duplicate and related open PRs. A completepr_overlap.pyscan requires an authenticated GitHub CLI.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)Summary by CodeRabbit
Bug Fixes
Documentation
Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-12-04T13:51:10Z.
Review: APPROVED
Verified on Windows 11 (GCC 15.2, Release) on main
484b0368d3. Applied together with #28892, #28890, #28817 and #27995, which touch separate files.system_service_date_time_localeandguest_system_service_time_zonepassed in 3 of 3 runs.ToConsoleTimeZone. So there is no separate negative run._get_dstbiaspath, and on Linux main already subtracted 60.Not run: Linux and macOS, and the console's own value for a 30-minute zone, which the debt entry records as unverified.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-04T13:53:31Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
5fbe3f882c33ab58a8e07af928f054dac5461175by source inspection. No merged-preview check or executable checks were run; no build or test was run. The author reports the standalone fixture passed, but I did not run it.Results
Negative control
Not run; no executable test was run.
Findings
Blocking
None.
Non-blocking
Sources
The five changed files listed in the manifest were reviewed:
DateTimeLocale.hpp(lines 1–54),Export.cpp(lines 1–95 and 570–610),GuestSystemServiceTimeZone.cpp(all 57 lines),SystemServiceDateTimeLocale.cpp(lines 438–513), and the debt note (all 5 lines). No files were excluded. Other portions of the larger source and test files were not read.Not verified
The full guest test, other operating systems, and physical-console behavior were not verified. The code outside the ranges listed above was not read.
To get this to a good state
Nothing is required.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.