Only show 24 months of Nailsea market days
This commit is contained in:
		
							parent
							
								
									a46661c1b3
								
							
						
					
					
						commit
						15c52246b7
					
				| 
						 | 
					@ -89,7 +89,7 @@ def tobacco_factory(start_date: date, weeks: int = 52 * 2) -> list[Event]:
 | 
				
			||||||
    return events
 | 
					    return events
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def nailsea_farmers(start_date: date, months: int = 52 * 2) -> list[Event]:
 | 
					def nailsea_farmers(start_date: date, months: int = 24) -> list[Event]:
 | 
				
			||||||
    """Nailsea Farmers Market days for the next 12 months from a given date."""
 | 
					    """Nailsea Farmers Market days for the next 12 months from a given date."""
 | 
				
			||||||
    events: list[Event] = []
 | 
					    events: list[Event] = []
 | 
				
			||||||
    current_date = start_date
 | 
					    current_date = start_date
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue