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

formatPassTime 倒计时时间一点想法 #19

Open
bestime opened this issue Dec 27, 2017 · 0 comments
Open

formatPassTime 倒计时时间一点想法 #19

bestime opened this issue Dec 27, 2017 · 0 comments
Labels

Comments

@bestime
Copy link

bestime commented Dec 27, 2017

我之前一直想封装一个获取倒计时的函数。
计算天、时、分、秒、毫秒。这些都没问题。
计算剩余年、月感觉太复杂,就不了了之了。

楼主这个我大概看了一下,月按30天算的,年按12个月算的。只能是个大致的时间。然而,作为一个强迫症患者,需要知道未来的一个时间距离现在的准确年月日时分秒
仅仅一点小建议~~~

@proYang proYang added the 建议 label Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants