53b8fddd by 任超

style;头部·

1 parent aae3c77f
......@@ -58,12 +58,12 @@ function getDateWeek() {
date = todayDate.getDate();
month = todayDate.getMonth() + 1;
year = todayDate.getYear();
var dateweek = "今天是:";
var dateweek = "";
if (navigator.appName == "Netscape") {
dateweek = dateweek + (1900 + year) + "年" + month + "月" + date + "日 ";
dateweek = (1900 + year) + "年" + month + "月" + date + "日 ";
}
if (navigator.appVersion.indexOf("MSIE") != -1) {
dateweek = dateweek + year + "年" + month + "月" + date + "日 ";
dateweek = year + "年" + month + "月" + date + "日 ";
}
switch (todayDate.getDay()) {
case 0: dateweek += "星期日"; break;
......