Skip to content

fix(native): match Bulgarian and Turkish clock patterns - #201

Merged
rynfar merged 1 commit into
nativefrom
nw/188-bg-tr
Nov 4, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/188-bg-tr

Conversation

@rynfar

@rynfar rynfar commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Bulgarian clocks appended ч. in 24-hour mode, and Turkish 12-hour clocks placed the day period after the time. For example, web Intl renders 13:05 and ÖS 1:05, while native rendered 13:05 ч. and 1:05 ÖS.

Extend the existing generated V8 best-pattern supplement to the exact bg-BG and tr-TR base tags. ICU still supplies digits and day-period names; the formatter, hour-cycle selection, cache, timezone conversion and UI are unchanged. Add 720 oracle cases across both locales, all three modes, default plus four hc extensions, all 24 hours including exact midnight/noon. Preserve the original 900 cases and the prior four-locale 1,440 cases. Both ST-GENERAL and TR-WORK remain partial under #188; all 129 other feature rows are unchanged.

Validation:

  • Fail-first existing oracle and 42-locale / 15,120-case V8 sweep: 360 differences (bg 192, tr 168).
  • Final committed oracle: 3,060 cases; all 15,120 wider-sweep cases match V8 (zero remaining differences in this finite audit). A separately linked current-core runtime probe matches 8,640 V8 outputs across all six regression locales, all modes/hc states/hours and default/latn/arab/deva numbering systems (before: 1,440 differences; after: zero).
  • Generator --check, compatible provenance-only checks, 30 negative fixture/schema/order/count checks and five negative pattern checks; write provenance remains actual Node v22.22.3 / ICU 78.2.
  • Workspace clippy with warnings denied, 1,340 workspace tests (including the wider sweep), native build, theme/parity/conformance checks and full vp run check:changed fork/native.

Local offscreen evidence, copied smoke home and per-process AppleLocale only (no OS preference writes, real windows, provider turns or server mutations):

  • /private/tmp/native-188-bg-tr/bg-before.png
  • /private/tmp/native-188-bg-tr/bg-after.png
  • /private/tmp/native-188-bg-tr/tr-before.png
  • /private/tmp/native-188-bg-tr/tr-after.png

Logs and actual V8 comparison transcript: /private/tmp/native-188-bg-tr/.

Keep #188 open: explicit-script/language-only regional behavior and options outside the tested matrix remain unestablished; non-macOS numeric dates retain their English fallback. Non-macOS execution, live OS preference/timezone updates and macOS 13 runtime remain unverified. No calendar/date expansion, web/server/contracts changes or unrelated native changes.

Rebase validation at bd67c2bbe43b589ea83c0d1ce9b8d2d830d7f6fe on b30e4b4bb6e70e3f0414f5b18c90c1c58f25171e: all three nonledger PR blobs and their range-diff match approved 8656e113a7 exactly. Within the ledger, only the owned rows differ from the new base; all 129 others, including the TR-MEDIA/TV-STREAM #187 updates, are preserved byte for byte. Proof and fresh common-check logs: /private/tmp/native-188-bg-tr/rebase-b30e4b4b/.

Built with GPT-6.1 Sol in Codex

@rynfar
rynfar merged commit a467fe8 into native Nov 4, 2026
@rynfar rynfar mentioned this pull request Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant