diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-07-27 18:29:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-27 18:29:24 +0900 |
| commit | a880f5cbb8dfb6855feef1688914682a946aa617 (patch) | |
| tree | 80ae74c60e769c64aafca45177a5c78c328291a2 /src/client | |
| parent | Merge branch 'master' of https://github.com/syuilo/misskey (diff) | |
| parent | Update calendar.vue (diff) | |
| download | misskey-a880f5cbb8dfb6855feef1688914682a946aa617.tar.gz misskey-a880f5cbb8dfb6855feef1688914682a946aa617.tar.bz2 misskey-a880f5cbb8dfb6855feef1688914682a946aa617.zip | |
Merge pull request #2009 from acid-chicken/acid-chicken-patch-1
Minify Mk-II
Diffstat (limited to 'src/client')
| -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({ |