@youngbeen/workday
Advanced tools
| // 如无特殊配置,则周末属于holiday | ||
| export default { | ||
| workdays: [ | ||
| '01-26', | ||
| '02-08', | ||
| '04-27', | ||
| '09-28', | ||
| '10-11' | ||
| ], | ||
| holidays: [ | ||
| '01-01', | ||
| '01-28', | ||
| '01-29', | ||
| '01-30', | ||
| '01-31', | ||
| '02-03', | ||
| '02-04', | ||
| '04-04', | ||
| '05-01', | ||
| '05-02', | ||
| '05-05', | ||
| '06-02', | ||
| '10-01', | ||
| '10-02', | ||
| '10-03', | ||
| '10-06', | ||
| '10-07', | ||
| '10-08' | ||
| ] | ||
| } |
+1
-1
@@ -10,3 +10,3 @@ "use strict"; | ||
| var supportYears = ['2022', '2023', '2024']; | ||
| var supportYears = ['2022', '2023', '2024', '2025']; | ||
| var yearPlan = null; // 判断日期是否是周末(周六/周日) | ||
@@ -13,0 +13,0 @@ |
+1
-1
| { | ||
| "name": "@youngbeen/workday", | ||
| "version": "0.2.6", | ||
| "version": "0.2.7", | ||
| "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'] | ||
| const supportYears = ['2022', '2023', '2024', '2025'] | ||
@@ -6,0 +6,0 @@ let yearPlan = null |
11600
3.73%9
12.5%299
11.15%