Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Nov 24, 2024
1 parent add6fd6 commit 12382d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/preface/terminology.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Due to politics a city may change its offset at any time (1). And for economic r
1. This means some points in time don't exist in certain countries or exist twice.
2. Usually they increase/decrease their offset by 1 or 2 hours.

Because asking the offset for a timezone will yeild different results depending on when you ask for it, it's part of the world that changes. This means that timezones are handled at the [clock](#clock) level.
Because asking the offset for a timezone will yield different results depending on when you ask for it, it's part of the world that changes. This means that timezones are handled at the [clock](#clock) level.

## Period

Expand Down
4 changes: 2 additions & 2 deletions docs/upgrade/v3-to-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ These are the main changes, for an extensive list of changes go to the [changelo
$clock->now()->timezone()->minutes();
```

=== "Before"
=== "After"
```php
$clock->now()->offset()->hours();
$clock->now()->offset()->minutes();
Expand All @@ -94,7 +94,7 @@ These are the main changes, for an extensive list of changes go to the [changelo
$clock->now()->changeTimezone(new Earth\Timezone\UTC(2, 0));
```

=== "Before"
=== "After"
```php
$clock->now()->changeOffset(Offset::plus(2, 0));
```
Expand Down

0 comments on commit 12382d5

Please sign in to comment.