Repository navigation
fix(native): match Intl clock patterns for four locales - #199
Merged
Merged
Conversation
This was referenced Nov 4, 2026
Open
rynfar
force-pushed
the
nw/188-timestamps
branch
from
November 4, 2026 09:09
405514f to
d8e9f93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native timestamps diverged from the web's
Intl.DateTimeFormatfor Colombian Spanish hour padding, Lithuanian 12-hour padding, Uyghur's default cycle, and Marathi's 24-hour separator. This slice ports the eight clock patterns and four default cycles selected by real V8 Intl into a generated supplement. ICU4X still supplies localized numbers and names; the existing hour-cycle selection, timezone conversion, and bounded host-locale cache continue to serve the native timestamp entry points and all three General time-format modes.Generated-data checks compare case values and pattern bodies independently of Node/ICU provenance. Regeneration still writes the actual runtime versions into both JSON fixtures and the generated Rust header.
The existing oracle test now preserves the original 900 cases and adds 1,440 regression cases: exactly
es-CO,lt-LT,ug-CN,mr-IN, each with no hour-cycle extension andhc-h11,hc-h12,hc-h23,hc-h24, all three modes, every hour, exact midnight/noon, and minute 05 otherwise. Provenance: Node v22.22.3 / ICU 78.2. Both ledger rows remain partial and now track #188; every other row and column is unchanged.Validation:
/private/tmp/native-factory-2f5f764a/evidence-188/review-fix/.e9d5ae92be4969e6ee0e890ccfa552de959f7ca4after feat(native): add ACP registry search and sign-in wizard #198. Approved timestamp feature blobs match405514f6e5b95276f2135a544a2e5559d95da1eeexactly; only the generator check changed. All ledger lines outside the two owned rows match the new base byte-for-byte, including provider rows. Exact blob/column proof and range-diff are in the evidence directory above.cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace(1,329 passed), theme generation check, parity sync tests (42 passed), conformance generation check, timestamp generation check, andvp run check:changed e9d5ae92be4969e6ee0e890ccfa552de959f7ca4pass.bg-BG(192, trailingч.) andtr-TR(168, day-period position). These remain gaps under Timestamp locale gaps (ST-GENERAL, TR-WORK) #188. Runnode scripts/gen-timestamp-oracle.mjs --sweep-output /absolute/path/sweep.json, thenT3_TIMESTAMP_SWEEP=/absolute/path/sweep.json cargo test -p t3-core locale_options_match_node_intl_oraclefromapps/native; the optional audit reports these failures rather than tolerating them./private/tmp/native-factory-2f5f764a/evidence-188/format-runtime.tsv.Local PNG evidence, rendered offscreen from copied smoke state with per-process AppleLocale arguments:
/private/tmp/native-factory-2f5f764a/evidence-188/before-es-CO.png→/private/tmp/native-factory-2f5f764a/evidence-188/after-es_CO.png/private/tmp/native-factory-2f5f764a/evidence-188/before-lt_LT.png→/private/tmp/native-factory-2f5f764a/evidence-188/after-lt_LT.png/private/tmp/native-factory-2f5f764a/evidence-188/before-ug_CN.png→/private/tmp/native-factory-2f5f764a/evidence-188/after-ug_CN.png/private/tmp/native-factory-2f5f764a/evidence-188/before-mr_IN.png→/private/tmp/native-factory-2f5f764a/evidence-188/after-mr_IN.pngRemaining gaps: the wider audit above; Intl behavior outside the precise tested locale/extension/options matrix; non-macOS numeric dates still use the existing English fallback. Numeric date best-pattern/calendar selection needs its own verified slice. Non-macOS execution, live OS preference/timezone changes, and macOS 13 runtime remain unverified. Keep #188 open.
Built with GPT-6.1 Sol in Codex