From 428947088282119aa0565b291f18382ebed83d9b Mon Sep 17 00:00:00 2001 From: Heechul Ryu Date: Tue, 23 Jul 2024 17:13:50 +0900 Subject: [PATCH] Update README.md replace outdated function names with the new ones `.minus` -> `.substract` `.now` -> `.goto` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a52d5a98..a8f10916 100644 --- a/README.md +++ b/README.md @@ -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 🥐 ```