[Doc] add gzip size badge (#1107)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user