forked from FoundKeyGang/FoundKey
Merge branch 'master' of https://github.com/syuilo/misskey
This commit is contained in:
commit
2347d9cea2
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ import Vue from 'vue';
|
||||||
const eachMonthDays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
const eachMonthDays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
||||||
|
|
||||||
function isLeapYear(year) {
|
function isLeapYear(year) {
|
||||||
return !(year % (year % 25 ? 4 : 16));
|
return !(year & (year % 25 ? 3 : 5));
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
|
|
Loading…
Reference in a new issue