diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-07-27 18:40:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-07-27 18:40:41 +0900 |
| commit | 2347d9cea2425167184baed52e87dc7b85e8552c (patch) | |
| tree | ddac9bfbcce25c2a334a5556059981782583ab68 /src | |
| parent | バギーなのでジョブキュー無効化 (diff) | |
| parent | Merge pull request #2009 from acid-chicken/acid-chicken-patch-1 (diff) | |
| download | sharkey-2347d9cea2425167184baed52e87dc7b85e8552c.tar.gz sharkey-2347d9cea2425167184baed52e87dc7b85e8552c.tar.bz2 sharkey-2347d9cea2425167184baed52e87dc7b85e8552c.zip | |
Merge branch 'master' of https://github.com/syuilo/misskey
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/components/calendar.vue | 2 |
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({ |