{"action":"created","issue":{"url":"https://api.github.com/repos/LKI/chinese-calendar/issues/26","repository_url":"https://api.github.com/repos/LKI/chinese-calendar","labels_url":"https://api.github.com/repos/LKI/chinese-calendar/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/LKI/chinese-calendar/issues/26/comments","events_url":"https://api.github.com/repos/LKI/chinese-calendar/issues/26/events","html_url":"https://github.com/LKI/chinese-calendar/issues/26","id":352936863,"node_id":"MDU6SXNzdWUzNTI5MzY4NjM=","number":26,"title":"是否可以加入法定节假日和调休日区分呢？","user":{"login":"shengbinxu","id":3232275,"node_id":"MDQ6VXNlcjMyMzIyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/3232275?v=4","gravatar_id":"","url":"https://api.github.com/users/shengbinxu","html_url":"https://github.com/shengbinxu","followers_url":"https://api.github.com/users/shengbinxu/followers","following_url":"https://api.github.com/users/shengbinxu/following{/other_user}","gists_url":"https://api.github.com/users/shengbinxu/gists{/gist_id}","starred_url":"https://api.github.com/users/shengbinxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shengbinxu/subscriptions","organizations_url":"https://api.github.com/users/shengbinxu/orgs","repos_url":"https://api.github.com/users/shengbinxu/repos","events_url":"https://api.github.com/users/shengbinxu/events{/privacy}","received_events_url":"https://api.github.com/users/shengbinxu/received_events","type":"User","site_admin":false},"labels":[{"id":619304752,"node_id":"MDU6TGFiZWw2MTkzMDQ3NTI=","url":"https://api.github.com/repos/LKI/chinese-calendar/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"LKI","id":3286092,"node_id":"MDQ6VXNlcjMyODYwOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3286092?v=4","gravatar_id":"","url":"https://api.github.com/users/LKI","html_url":"https://github.com/LKI","followers_url":"https://api.github.com/users/LKI/followers","following_url":"https://api.github.com/users/LKI/following{/other_user}","gists_url":"https://api.github.com/users/LKI/gists{/gist_id}","starred_url":"https://api.github.com/users/LKI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LKI/subscriptions","organizations_url":"https://api.github.com/users/LKI/orgs","repos_url":"https://api.github.com/users/LKI/repos","events_url":"https://api.github.com/users/LKI/events{/privacy}","received_events_url":"https://api.github.com/users/LKI/received_events","type":"User","site_admin":false},"assignees":[{"login":"LKI","id":3286092,"node_id":"MDQ6VXNlcjMyODYwOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3286092?v=4","gravatar_id":"","url":"https://api.github.com/users/LKI","html_url":"https://github.com/LKI","followers_url":"https://api.github.com/users/LKI/followers","following_url":"https://api.github.com/users/LKI/following{/other_user}","gists_url":"https://api.github.com/users/LKI/gists{/gist_id}","starred_url":"https://api.github.com/users/LKI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LKI/subscriptions","organizations_url":"https://api.github.com/users/LKI/orgs","repos_url":"https://api.github.com/users/LKI/repos","events_url":"https://api.github.com/users/LKI/events{/privacy}","received_events_url":"https://api.github.com/users/LKI/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-08-22T12:42:30Z","updated_at":"2018-10-09T13:11:58Z","closed_at":"2018-09-07T13:57:05Z","author_association":"NONE","body":"按照国家加班工资规定：\r\n     在法定节假日，用人单位应当按照不低于日工资基数或者小时工资基数的300％来支付加班工资，而且不得以调休、补休替代。在休息日，用人单位应当先安排同等时间的补休；确实不能安排补休的，要按照不低于日工资基数或者小时工资基数的200％支付加班工资。\r\n\r\n   根据国家统一安排，2018年春节放假共七天，即2月15日至21日。其中，国家法定节假日有三天，即2月16日到18日，也就是农历正月初一、初二、初三；另外有四天是调休日，即2月15日、19日、20日、21日，这是由2月11日、17日、18日、24日这四个周末休息日调过来的。\r\n\r\n也就是说，同样是节假日，法定假日和调休日的加班工资是不一样的。我这边做个项目，就要根据这个区分工资计算。\r\n\r\n麻烦大神看下是否能支持？我不是专业搞python的。怕提交的代码不规范\r\n"},"comment":{"url":"https://api.github.com/repos/LKI/chinese-calendar/issues/comments/428185983","html_url":"https://github.com/LKI/chinese-calendar/issues/26#issuecomment-428185983","issue_url":"https://api.github.com/repos/LKI/chinese-calendar/issues/26","id":428185983,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE4NTk4Mw==","user":{"login":"LKI","id":3286092,"node_id":"MDQ6VXNlcjMyODYwOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3286092?v=4","gravatar_id":"","url":"https://api.github.com/users/LKI","html_url":"https://github.com/LKI","followers_url":"https://api.github.com/users/LKI/followers","following_url":"https://api.github.com/users/LKI/following{/other_user}","gists_url":"https://api.github.com/users/LKI/gists{/gist_id}","starred_url":"https://api.github.com/users/LKI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LKI/subscriptions","organizations_url":"https://api.github.com/users/LKI/orgs","repos_url":"https://api.github.com/users/LKI/repos","events_url":"https://api.github.com/users/LKI/events{/privacy}","received_events_url":"https://api.github.com/users/LKI/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T13:11:58Z","updated_at":"2018-10-09T13:11:58Z","author_association":"OWNER","body":"呃，没太看懂你的表达。\r\n\r\n关于调休的话： `in_lieu_days` （在文件最下面）是代表调休的日期，应该是够用的。\r\n要判断 18 年的话也可以使用  `chinese_calendar.is_in_lieu(datetime.date(2018, 1, 1))` 来判断。"}}
{"actor":{"display_login":"LKI"}}