Skip to content
Snippets Groups Projects
Commit 2347d9ce authored by syuilo's avatar syuilo
Browse files

Merge branch 'master' of https://github.com/syuilo/misskey

parents 8a57f490 a880f5cb
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment