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

调整时间进度百分比为当月进度百分比 #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DomKing
Copy link
Contributor

@DomKing DomKing commented Nov 29, 2020

当前时间进度百分比有两个问题

  1. 上午时显示的百分比是上午12小时的百分比,下午的时间,显示的是全天24小时的百分比
  2. 套餐实际展示的是整月
    所以将更新时间百分比调整为当月进度百分比。
    其中闰年算法为简单判断能否被4带除。由于本世纪不存在计算错误的问题,直接用简单算法。

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

Successfully merging this pull request may close these issues.

None yet

1 participant