[Doc] add gzip size badge (#1107)

This commit is contained in:
neverland
2018-05-19 18:20:32 +08:00
committed by GitHub
parent 3d669b4a81
commit a9bd779143
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ export default create({
},
isLeapYear(year) {
return (year % 400 === 0) || (year % 100 !== 0 && year % 4 === 0);
return (year % 4 === 0 && year % 100 !== 0) || (year % 400 === 0);
},
isShortMonth(month) {