Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/locales/tr/location/postcode.ts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
export default ['#####'];
// Turkish postal codes are five digits whose first two digits are the
// license plate code of the province, from 01 (Adana) to 81 (Düzce),
// followed by three digits. The 00xxx and 82xxx-99xxx ranges are not
// assigned, so they are excluded here.
// See https://en.wikipedia.org/wiki/Postal_codes_in_Turkey
export default Array.from(
{ length: 81 },
(_, index) => `${(index + 1).toString().padStart(2, '0')}###`
);
Loading