Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoerrmann committed Jun 23, 2020
1 parent ec0d667 commit f60873c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,23 @@ $page->date()->toRelative('next Monday');

### toCurrentYear()

Creates a `DateTime` representation of th field value and returns it with the year set to the current one.
Creates a `DateTime` representation of the field value and returns it with the year set to the current one.

```php
$page->date()->toCurrentYear();
```

### toCurrentMonth()

Creates a `DateTime` representation of th field value and returns it with the month set to the current one.
Creates a `DateTime` representation of the field value and returns it with the month set to the current one.

```php
$page->date()->toCurrentMonth();
```

### toCurrentDay()

Creates a `DateTime` representation of th field value and returns it with the day set to the current one.
Creates a `DateTime` representation of the field value and returns it with the day set to the current one.

```php
$page->date()->toCurrentDay();
Expand Down

0 comments on commit f60873c

Please sign in to comment.