This commit is contained in:
Acid Chicken (硫酸鶏) 2018-07-27 19:15:38 +09:00 committed by GitHub
parent df5a7c7e0c
commit 5268fee5b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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({