Coder Social home page Coder Social logo

ht-attendance's Introduction

使用

参照文档

开发

git clone
# or use npm
pnpm i
pnpm run build
# 复制 dist/index.*.js 到 chrome console 执行

说明

  1. 忘记打卡和请假在打卡机上表现均为无打卡记录, 所以无法区分是 忘记还是请假, 导致最终时间 月盈亏 不正确

    比如, 每天工作 8 小时, 每天休息 2 小时
    如果 请 假 1 天, 那月盈亏应该为 -8 小时
    如果是忘记打卡,那月盈亏应该为 -10 小时
    本程序直接 按照 -10 小时计算, 如果请假了,
    请自行在月盈亏 加上 请假天数 * 2小时

  2. 本程序节假日按照国家公布的法定假日来计算是否放假, 集团/公司有自己的假期未适配, 同时每年需要更新 holidays.mjs 文件来更新法定假日

  3. 仅支持按月统计时长, 输入格式为 YYYYMM

  4. 脚本仅支持最新2个版本的Chrome(@babel/preset-env编译配置)

ht-attendance's People

Contributors

xinshangshangxin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.