From 5268fee5b5639cc38de16e621465e0c6f6496e83 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 19:15:38 +0900 Subject: [PATCH] Fix bug --- 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 746beca9d5..de9650b21b 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 ? 3 : 5)); + return !(year & (year % 25 ? 3 : 15)); } export default Vue.extend({