style;头部·
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -58,12 +58,12 @@ function getDateWeek() { | ... | @@ -58,12 +58,12 @@ function getDateWeek() { |
58 | date = todayDate.getDate(); | 58 | date = todayDate.getDate(); |
59 | month = todayDate.getMonth() + 1; | 59 | month = todayDate.getMonth() + 1; |
60 | year = todayDate.getYear(); | 60 | year = todayDate.getYear(); |
61 | var dateweek = "今天是:"; | 61 | var dateweek = ""; |
62 | if (navigator.appName == "Netscape") { | 62 | if (navigator.appName == "Netscape") { |
63 | dateweek = dateweek + (1900 + year) + "年" + month + "月" + date + "日 "; | 63 | dateweek = (1900 + year) + "年" + month + "月" + date + "日 "; |
64 | } | 64 | } |
65 | if (navigator.appVersion.indexOf("MSIE") != -1) { | 65 | if (navigator.appVersion.indexOf("MSIE") != -1) { |
66 | dateweek = dateweek + year + "年" + month + "月" + date + "日 "; | 66 | dateweek = year + "年" + month + "月" + date + "日 "; |
67 | } | 67 | } |
68 | switch (todayDate.getDay()) { | 68 | switch (todayDate.getDay()) { |
69 | case 0: dateweek += "星期日"; break; | 69 | case 0: dateweek += "星期日"; break; | ... | ... |
-
Please register or sign in to post a comment