Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize ISO method name in README and docs #173

Closed
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ by adding the [ISO 639-1 language-code](https://en.wikipedia.org/wiki/ISO_3166-2

```php
// Get the holidays for mainland france
$iterator = $factory->createIteratorFromIso3166('FR');
$iterator = $factory->createIteratorFromISO3166('FR');

// Get the holidays for the french overseas-department La Reunion
$iterator = $factory->createIteratorFromIso3166('FR-RE');
$iterator = $factory->createIteratorFromISO3166('FR-RE');

// Get the dutch holidays for belgium
$iterator = $factory->createIteratorFromIso3166('fr_BE');
$iterator = $factory->createIteratorFromISO3166('fr_BE');
```

## Available Countries
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ by adding the [ISO 639-1 language-code](https://en.wikipedia.org/wiki/ISO_3166-2

```php
// Get the holidays for mainland france
$iterator = $factory->createIteratorFromIso3166('FR');
$iterator = $factory->createIteratorFromISO3166('FR');

// Get the holidays for the french overseas-department La Reunion
$iterator = $factory->createIteratorFromIso3166('FR-RE');
$iterator = $factory->createIteratorFromISO3166('FR-RE');

// Get the dutch holidays for belgium
$iterator = $factory->createIteratorFromIso3166('fr_BE');
$iterator = $factory->createIteratorFromISO3166('fr_BE');
```

## Available Countries
Expand Down
Loading