1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-27 14:44:38 +02:00
This commit is contained in:
syuilo
2018-07-27 18:40:41 +09:00

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 ? 4 : 16));
return !(year & (year % 25 ? 3 : 5));
}
export default Vue.extend({