Skip to content

Commit

Permalink
Merge pull request #412 from ryuheechul/patch-1
Browse files Browse the repository at this point in the history
Fix broken example code on README.md
  • Loading branch information
spencermountain authored Jul 26, 2024
2 parents 8bfc981 + 4289470 commit 4052415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ let s = spacetime.now()
s.diff(s.endOf('year'), 'days')
// 292

s.minus(11, 'hours').time()
s.substract(11, 'hours').time()
// 6:50am

s = s.now('Europe/Paris')
s = s.goto('Europe/Paris')
s.isAfter(s.time('11:00am'))
// true 🥐
```
Expand Down

0 comments on commit 4052415

Please sign in to comment.