From f53c82bf51ae13d2bb696451e21c0bee6a71db7e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 31 Dec 2016 22:59:06 +0900 Subject: [PATCH] Revert "Update calender" This reverts commit 878ef684b929ef601b04f06f93adf40d245f2d59. --- src/web/app/desktop/tags/home-widgets/calendar.tag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/app/desktop/tags/home-widgets/calendar.tag b/src/web/app/desktop/tags/home-widgets/calendar.tag index fb1f0189cc..87c65729d3 100644 --- a/src/web/app/desktop/tags/home-widgets/calendar.tag +++ b/src/web/app/desktop/tags/home-widgets/calendar.tag @@ -9,21 +9,21 @@ mk-calendar-home-widget(data-special={ special }) div p | 今日: - b { Math.floor(day-p*100)/100 }% + b { day-p.to-fixed(1) }% div.meter div.val(style={ 'width:' + day-p + '%' }) div p | 今月: - b { Math.floor(month-p*100)/100 }% + b { month-p.to-fixed(1) }% div.meter div.val(style={ 'width:' + month-p + '%' }) div p | 今年: - b { Math.floor(year-p*100)/100 }% + b { year-p.to-fixed(1) }% div.meter div.val(style={ 'width:' + year-p + '%' })