Skip to content

Commit

Permalink
(iamkun#171) Fixed API-Reference typo
Browse files Browse the repository at this point in the history
```js
dayjs('2000-10-25')
  .set('month', 3)
  .set('year', 2020).toString(); // Sat, 25 Apr 2020 00:00:00 GMT
```

to

```js
dayjs('2000-10-25')
  .set('month', 3)
  .set('year', 2020).toString(); // Sat, 25 Mar 2020 00:00:00 GMT
```
  • Loading branch information
orinamio authored May 30, 2018
1 parent 2f2d771 commit ff02ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Returns a `Dayjs` with the applied changes.
```js
dayjs('2000-10-25')
.set('month', 3)
.set('year', 2020).toString(); // Sat, 25 Apr 2020 00:00:00 GMT
.set('year', 2020).toString(); // Sat, 25 Mar 2020 00:00:00 GMT
```

## Manipulating
Expand Down

0 comments on commit ff02ce0

Please sign in to comment.