From df5a7c7e0c3ed65ce3beaf28f0e5befe9c37ccdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Fri, 27 Jul 2018 18:28:06 +0900 Subject: [PATCH] Update calendar.vue --- src/client/app/desktop/views/components/calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/desktop/views/components/calendar.vue b/src/client/app/desktop/views/components/calendar.vue index 111699618e..746beca9d5 100644 --- a/src/client/app/desktop/views/components/calendar.vue +++ b/src/client/app/desktop/views/components/calendar.vue @@ -35,7 +35,7 @@ import Vue from 'vue'; const eachMonthDays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; function isLeapYear(year) { - return !(year % (year % 25 ? 4 : 16)); + return !(year & (year % 25 ? 3 : 5)); } export default Vue.extend({