dayjs / dayjs-website

⏰Day.js website repo
http://day.js.org/
MIT License
66 stars 227 forks source link

the .from() method shows "in x time" instead of "x time ago" #34

Closed PlastMan420 closed 3 years ago

PlastMan420 commented 3 years ago

inserting a Datetype into the to() method ex: dayjs().to(dayjs(Date)) method shows "x time ago". that is different from what was being shown in the docs. the .from() method shows "in X time" when used similarly. the variables of Date type had data in this format: x: Date = "2016-01-01 00:00:00"

iamkun commented 3 years ago

doc updated, thx