March 4th is 3/4/2026 in the US and 4/3/2026 in the UK, and both are correct. Generating the same record across locales puts those differences side by side, which is the fastest way to find a hard-coded format.
What you can control
- Eight locales, generated as parallel rows for direct comparison.
- Date, number and currency samples use the platform's own
Intlformatting, so they match what a browser will actually render. - Name order flips for CJK locales, because family name comes first there.
- The collation sample sorts names with locale-aware comparison, which differs from ASCII sort.
Testing ideas
- Formats side by side. Compare date, number and currency formats across locales to find hard-coded US formats.
- Sort order. Use the sort-order sample to test collation for accented and non-Latin characters.
- Text direction. Show text direction to prepare for right-to-left layouts.
- Addresses. Compare address shapes; not every country puts the postcode last.
What this is not
Formatting comes from the JavaScript Intl API, so results depend on the ICU data in your runtime. Older Node builds ship reduced ICU and will format some locales as English.