fix: timezone
This commit is contained in:
parent
89f9321f0e
commit
b2c606ade4
|
|
@ -64,7 +64,7 @@ const Post = ({
|
|||
{t("ago", {
|
||||
time: date.dayjs
|
||||
.duration(
|
||||
date.dayjs(post?.createdAt).diff(date.dayjs(), "minute"),
|
||||
date.dayjs(post?.createdAt).tz().diff(date.dayjs(), "minute"),
|
||||
"minute",
|
||||
)
|
||||
.humanize(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue