@10yun/cv-mobile-ui 0.5.36 → 0.5.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @param {*} endDateStr
|
|
6
6
|
* @returns
|
|
7
7
|
*/
|
|
8
|
-
function cc_date_in_scope(monthStr, startDateStr, endDateStr) {
|
|
8
|
+
export function cc_date_in_scope(monthStr, startDateStr, endDateStr) {
|
|
9
9
|
// 将月份字符串转换为日期对象(当月第一天)
|
|
10
10
|
const [year, month] = monthStr.split('-').map(Number);
|
|
11
11
|
const targetDate = new Date(year, month - 1, 1); // 月份从0开始
|