From da3a6fc24d47d0bf29994008c6c1b1aa486b2039 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 21 Dec 2021 11:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=A9=E6=B0=94=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/mobile_first/ch-weather-forecast.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/mobile_first/ch-weather-forecast.php b/application/views/mobile_first/ch-weather-forecast.php index 8c1cb510..dcdd1bb3 100644 --- a/application/views/mobile_first/ch-weather-forecast.php +++ b/application/views/mobile_first/ch-weather-forecast.php @@ -91,7 +91,7 @@ var weekMap = new Array("SUN.", "MON.", "TUE.", "WED.", "THU.", "FRI.", "SAT."); var monthMap = new Array("Jan.", "Feb.", "Mar.", "Apr.", "May.", "Jun.", "Jul.", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."); function formatDate(date) { - return monthMap[(date.getMonth())] + date.getDate() + '.'; + return monthMap[(date.getMonth())] + ' ' + date.getDate(); } function formatWeek(date) { return weekMap[date.getDay()];