Update calendar.vue
This commit is contained in:
		 Acid Chicken (硫酸鶏)
					Acid Chicken (硫酸鶏)
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							3fb26534b7
						
					
				
				
					commit
					df5a7c7e0c
				
			| @@ -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({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user