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"
inserting a
Date
type into theto()
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"