1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:15:02 +00:00

refact: edit support script

This commit is contained in:
ruanyf 2021-12-29 17:19:36 +08:00
parent fd3eb89a6c
commit d9ec0db599

View File

@ -243,8 +243,8 @@ function li_create_linkage(li_tag, header_level) {
}
function create_banner(element) {
// 2022年1月1日
var deadline = new Date(2022, 0, 1);
// 2022年2月1日
var deadline = new Date(2022, 1, 1);
if (deadline - (new Date()) < 0) return;
var styleStr = [