Skip to content
Snippets Groups Projects
Unverified Commit eb4aac39 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #1918 from acid-chicken/master

Minify
parents 935a254c 180bf33a
No related branches found
No related tags found
No related merge requests found
......@@ -35,10 +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 % 400 == 0) ? true :
(year % 100 == 0) ? false :
(year % 4 == 0) ? true :
false;
return !(year % (year % 25 ? 4 : 16));
}
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