@youngbeen/workday
Advanced tools
| // 如无特殊配置,则周末属于holiday | ||
| export default { | ||
| workdays: [ | ||
| '01-04', | ||
| '02-14', | ||
| '02-28', | ||
| '05-09', | ||
| '09-20', | ||
| '10-10', | ||
| ], | ||
| holidays: [ | ||
| '01-01', | ||
| '01-02', | ||
| '02-16', | ||
| '02-17', | ||
| '02-18', | ||
| '02-19', | ||
| '02-20', | ||
| '02-23', | ||
| '04-06', | ||
| '05-01', | ||
| '05-04', | ||
| '05-05', | ||
| '06-19', | ||
| '09-25', | ||
| '10-01', | ||
| '10-02', | ||
| '10-05', | ||
| '10-06', | ||
| '10-07', | ||
| ] | ||
| } |
+1
-1
@@ -10,3 +10,3 @@ "use strict"; | ||
| var supportYears = ['2022', '2023', '2024', '2025']; | ||
| var supportYears = ['2023', '2024', '2025', '2026']; | ||
| var yearPlan = null; // 判断日期是否是周末(周六/周日) | ||
@@ -13,0 +13,0 @@ |
+1
-1
| { | ||
| "name": "@youngbeen/workday", | ||
| "version": "0.2.7", | ||
| "version": "0.2.8", | ||
| "description": "Workday/holiday util", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+1
-1
| import { dateUtil } from '@youngbeen/angle-util' | ||
| const supportYears = ['2022', '2023', '2024', '2025'] | ||
| const supportYears = ['2023', '2024', '2025', '2026'] | ||
@@ -6,0 +6,0 @@ let yearPlan = null |
12029
3.7%10
11.11%331
10.7%