From 2b9c14aa9bb2b5a6d000e84c03a6246fac73a214 Mon Sep 17 00:00:00 2001 From: enjoyeetime Date: Mon, 26 Dec 2022 19:44:15 +0800 Subject: [PATCH] update --- "\346\241\214\351\235\242\345\220\257\345\212\250.js" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/\346\241\214\351\235\242\345\220\257\345\212\250.js" "b/\346\241\214\351\235\242\345\220\257\345\212\250.js" index 7033da3..d522aac 100644 --- "a/\346\241\214\351\235\242\345\220\257\345\212\250.js" +++ "b/\346\241\214\351\235\242\345\220\257\345\212\250.js" @@ -516,13 +516,13 @@ class Widget extends BaseWidget { let currDayFullYear = currItem.date_cn.replace('年', '-').replace('月', '-').replace('日', ''); let notWorkdayFullYear = notWorkday.date_cn.replace('年', '-').replace('月', '-').replace('日', ''); let remainDay = (new Date(notWorkdayFullYear) - new Date(currDayFullYear)) / 86400 / 1000; - let holidayTips = notWorkday.holiday_cn == '非节假日' ? notWorkday.weekend_cn : notWorkday.holiday_cn + '假期'; + let holidayTips = notWorkday.holiday_cn == '非节假日' ? notWorkday.weekend_cn : notWorkday.holiday_cn; if (remainDay == 1) { return '明天' + holidayTips + '啦~ o(* ̄3 ̄)o'; } return `还有${remainDay}天到${holidayTips}ヽ(;´Д`)ノ`; } - return '接口数据飞到外太空了ヽ(;´Д`)ノ'; + return '数据飞到外太空了ヽ(;´Д`)ノ'; } /** -- GitLab