fix: client locale inference#10893
Conversation
This reverts commit 5ed649c.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
|
Thank you for following the naming conventions! 🙏 |
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
|
🤖 Meticulous spotted visual differences in 54 of 179 screens tested: view and approve differences detected. Last updated for commit dc2c06c. This comment will update as new commits are pushed. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 120 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 08/22/2023 05:54:07pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: dc2c06c Started: 08/22/2023 05:51:32pm UTC
|
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Stripe integration Can book a paid booking
Retry 2 • Retry 1 • Initial Attempt |
1.47% (4)4 / 272 runsfailed over last 7 days |
6.62% (18)18 / 272 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
2.57% (7)7 / 272 runsfailed over last 7 days |
97.43% (265)265 / 272 runsflaked over last 7 days |
📄 packages/app-store/typeform/playwright/tests/basic.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Routing Forms Seeded Routing Form Test preview should return correct route
Retry 1 • Initial Attempt |
0% (0)0 / 276 runsfailed over last 7 days |
3.26% (9)9 / 276 runsflaked over last 7 days |
| @@ -1,4 +1,4 @@ | |||
| import parser from "accept-language-parser"; | |||
| import { lookup } from "bcp-47-match"; | |||
There was a problem hiding this comment.
It's just 645 bytes after tree shaking @hariombalhara
What does this PR do?
followup to #10850
Fixes an issue where requesting locale "es" would respond with "es-419" instead of "es".
Type of change
How should this be tested?
Mandatory Tasks
Checklist