aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/location.ts
AgeCommit message (Collapse)AuthorFilesLines
2024-12-14feat(location): add list of spoken languages (#3333)Umair Jibran1-0/+8
* add list of spoken languages * remove dupes * add language definition * add language module * add test case for `language()` * autogenerated supporting code * add languages for urdu * add test to make sure the values are truthy * update seed to match new format * update language list slim them down to a few languages as the long list was not easy to build up * update documentation * update returns * language: convert alpha2 to lowercase * update seed flies * covert alpha3 to lowercase * update seeders * update example * update version * use interface for language * Update index.ts * Revert "Update index.ts" This reverts commit 72a18e99cfee1f4c09d151b27bda1f2c8d1137d8. * Update src/modules/location/index.ts Co-authored-by: ST-DDT <[email protected]> * Update src/modules/location/index.ts Co-authored-by: ST-DDT <[email protected]> * Update src/definitions/location.ts Co-authored-by: ST-DDT <[email protected]> * language semantic Co-authored-by: ST-DDT <[email protected]> * add additional test cases * add examples for each property * add languages for the supported locales * update seeds * use example of german instead of english * Update src/definitions/location.ts Co-authored-by: ST-DDT <[email protected]> --------- Co-authored-by: ST-DDT <[email protected]>
2024-10-13refactor(location): support multiple postcode_by_state patterns (#3170)Matt Mayer1-1/+1
2024-10-12feat(location): add `continent` method (#3162)Joscha Feth1-0/+5
2024-06-21feat(date)!: separate timeZone method (#2947)ST-DDT1-1/+3
2024-04-15refactor(locale)!: remove location data index-value-binding (#2476)DivisionByZero1-6/+24
2023-09-15feat(location): Support ISO 3166-1 numeric country codes (#2325)Robin van der Vliet1-1/+1
2023-08-10fix(location): Pad en_US ZIP codes left to 5 characters if needed (#2278)Matt Mayer1-1/+3
* fix(location): Pad en_US ZIP codes left to 5 characters if needed * fix NJ and RI * fix PR * updated postcode_by_state to use string patterns --------- Co-authored-by: DivisionByZero <[email protected]>
2023-05-01fix(location): no leading zero on building number or secondary address (#2032)Matt Mayer1-2/+2
2023-05-01refactor(types): rename locale definition types to singular (#2058)ST-DDT1-1/+1
2023-04-27refactor(location)!: rename definition city to city_pattern (#2094)DivisionByZero1-1/+1
2023-04-21refactor(location)!: rename definition street to street_pattern (#2051)Shinigami1-1/+1
2023-03-29docs(location): improve documentation for state and county (#1987)Matt Mayer1-3/+3
2023-02-20refactor(location)!: countryCode use ISO-3166-1 (#1720)DivisionByZero1-10/+5
Co-authored-by: Shinigami92 <[email protected]>
2022-10-21refactor(location)!: rename address module (#1469)Shinigami1-0/+128
Co-authored-by: ST-DDT <[email protected]>