From bc6964dc13fd2d5683d64351e97bf954c5eb4a51 Mon Sep 17 00:00:00 2001 From: "Mona,Lisa" Date: Thu, 11 May 2023 11:21:55 +0700 Subject: [PATCH] feat(location): add ne postcodes Nepali postcodes are 5 digits starting with [1-5] --- src/locales/ne/location/index.ts | 2 ++ src/locales/ne/location/postcode.ts | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 src/locales/ne/location/postcode.ts diff --git a/src/locales/ne/location/index.ts b/src/locales/ne/location/index.ts index 6939f44e661..4fd0e9be7c6 100644 --- a/src/locales/ne/location/index.ts +++ b/src/locales/ne/location/index.ts @@ -6,6 +6,7 @@ import type { LocationDefinition } from '../../..'; import city_name from './city_name'; import city_pattern from './city_pattern'; import default_country from './default_country'; +import postcode from './postcode'; import state from './state'; import street_pattern from './street_pattern'; @@ -13,6 +14,7 @@ const location: LocationDefinition = { city_name, city_pattern, default_country, + postcode, state, street_pattern, }; diff --git a/src/locales/ne/location/postcode.ts b/src/locales/ne/location/postcode.ts new file mode 100644 index 00000000000..b05a8a69846 --- /dev/null +++ b/src/locales/ne/location/postcode.ts @@ -0,0 +1,2 @@ +// https://www.gpo.gov.np/Home/Postalcode +export default ['1####', '2####', '3####', '4####', '5####'];