diff options
| author | Matt Mayer <[email protected]> | 2023-05-01 16:03:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-01 09:03:00 +0000 |
| commit | a8dc7e07f6d5ee2ae38724ba5d503d7b88bd7147 (patch) | |
| tree | fb787d9a30e1305c3c2ffb0364395476caa0b93e /src/definitions | |
| parent | a94d365a2313a7597065b7468abb2d79b6da026e (diff) | |
| download | faker-a8dc7e07f6d5ee2ae38724ba5d503d7b88bd7147.tar.xz faker-a8dc7e07f6d5ee2ae38724ba5d503d7b88bd7147.zip | |
fix(location): no leading zero on building number or secondary address (#2032)
Diffstat (limited to 'src/definitions')
| -rw-r--r-- | src/definitions/location.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/definitions/location.ts b/src/definitions/location.ts index 9af95fc2..b8e7ebab 100644 --- a/src/definitions/location.ts +++ b/src/definitions/location.ts @@ -72,7 +72,7 @@ export type LocationDefinition = LocaleEntry<{ direction_abbr: string[]; /** - * The pattern used to generate building numbers. + * The pattern used to generate building numbers. Since building numbers rarely start with 0, any consecutive # characters will be replaced by a number without a leading zero. */ building_number: string[]; @@ -112,7 +112,7 @@ export type LocationDefinition = LocaleEntry<{ }; /** - * The address "inside" an address/e.g. an apartment or office. + * The address "inside" an address/e.g. an apartment or office. Since these rarely start with 0, any consecutive # characters will be replaced by a number without a leading zero. */ secondary_address: string[]; |
