mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
Fix bug
This commit is contained in:
parent
df5a7c7e0c
commit
5268fee5b5
@ -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 ? 3 : 5));
|
return !(year & (year % 25 ? 3 : 15));
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
|
Loading…
Reference in New Issue
Block a user