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

extra work #6

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

extra work #6

wants to merge 4 commits into from

Conversation

liuchaofeng1230
Copy link

添加了设置“额外工作时间功能”

国庆调休时,原本应该跳过的周日2014-09-28变成了工作日,这时候只需添加以下内容,就可以把2014-09-28设为James的工作日。

# 加班情况
* James --- 2014-09-28

注意与“请假”情况的区别:请假情况的分隔符为"--",而加班情况则为“---”。

@xumingming
Copy link
Owner

分隔符改成++ 吧,这样跟原来请假分隔开来,同时+也可以体现加班的意思


project_status = cost_man_days / total_man_days
print("")
print(">> 总人日: {}, 已经完成的人日: {}, 完成度: {:.2%}".format(total_man_days,
print(">> 总人日: {}, 已经完成的人日: {:.2f}, 完成度: {:.2%}".format(total_man_days,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个「已经完成的人日」干嘛要显示小数点?这个给别人看会有点奇怪

@xumingming
Copy link
Owner

干的不错!我都看懂了,谢谢!

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.

2 participants