Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第八章p127,实时时间转换指令v-time #132

Open
zhanghm01 opened this issue May 16, 2021 · 0 comments
Open

第八章p127,实时时间转换指令v-time #132

zhanghm01 opened this issue May 16, 2021 · 0 comments

Comments

@zhanghm01
Copy link

时间转换逻辑中,书中写到:1小时1天之间,显示‘XX’小时之前
我理解应该是1小时
24小时之间应显示为XX小时之前;书中是以今日零时零分零秒为间隔点计算的“1天”,
image
我试了下用昨天与当前的时间间隔算,虽然没超过24小时,但仍显示的1天前,感觉不太合理~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant