Generate random Timezone IDs
- Dominant language
- C#
- Stars
- 9.7k
- Forks
- 538
- PR merge metrics
- No merged PRs in 30d
Description
### Please describe why you are requesting a feature
It would go well with random locale.
### Please provide a code example of what you are trying to achieve
```csharp
var faker = new Bogus.Faker();
faker.Random.RandomTimezoneId();
Expected output: "America/Argentina/San_Juan"
```
A list of timezone IDs I've found: https://raw.githubusercontent.com/mattjohnsonpint/TimeZoneNames/main/src/TimeZoneNames.DataBuilder/data/zone-precedence.txt
* Is the feature something that currently cannot be done?
No
* What alternatives have you considered?
Randomizing from a list
* Is this feature request any issues or current problems?
No
* Has the feature been requested in the past?
No
**If the feature request is approved, would you be willing to submit a PR?**
No
Contributor guide
Research direction
Start at the faker.Random.RandomTimezoneId() entry point shown in the issue and compare it with the existing random locale functionality. Review the linked timezone ID list as the proposed data source; done means the new API returns valid timezone IDs such as "America/Argentina/San_Juan".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100