fix(locale): update nl_BE phone number patterns - #3981
Conversation
✅ Deploy Preview for fakerjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Head branch was pushed to by a user without write access
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3981 +/- ##
=======================================
Coverage 98.91% 98.91%
=======================================
Files 925 925
Lines 3235 3235
Branches 587 587
=======================================
Hits 3200 3200
Misses 31 31
Partials 4 4 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates the nl_BE locale phone number format definitions to better reflect current Belgian numbering, removing deprecated international patterns and adjusting mobile/human formats used by faker.phone.number({ style: ... }).
Changes:
- Simplify
mobileformat to a single04########pattern. - Remove deprecated/short international formats and narrow to
+32########(landline) and+324########(mobile). - Refresh
humanformats to focus on common Belgian0x/0xx ...patterns plus mobile formats.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/locales/nl_BE/phone_number/format/mobile.ts | Simplifies mobile format patterns to a single 04######## definition. |
| src/locales/nl_BE/phone_number/format/international.ts | Removes deprecated international formats and keeps updated +32/+324 patterns. |
| src/locales/nl_BE/phone_number/format/human.ts | Updates human-readable formats toward common Belgian 0x/0xx groupings and trims older patterns. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Removed deprecated international Belgian phone numbers
Updated phone number format for: Mobile & Human.