summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2018-07-27 18:28:06 +0900
committerGitHub <noreply@github.com>2018-07-27 18:28:06 +0900
commitdf5a7c7e0c3ed65ce3beaf28f0e5befe9c37ccdf (patch)
tree31c9228037ac9b74ca972e10728e76300b3889fa /src
parentMerge pull request #2004 from syuilo/greenkeeper/jsdom-11.12.0 (diff)
downloadmisskey-df5a7c7e0c3ed65ce3beaf28f0e5befe9c37ccdf.tar.gz
misskey-df5a7c7e0c3ed65ce3beaf28f0e5befe9c37ccdf.tar.bz2
misskey-df5a7c7e0c3ed65ce3beaf28f0e5befe9c37ccdf.zip
Update calendar.vue
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/calendar.vue2
1 files changed, 1 insertions, 1 deletions
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({