From f46df0382363c787c097889d3bf6f481eab8cb6c 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 fb1f0189c..87c65729d 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 + '%' })