mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 14:30:29 +03:00 
			
		
		
		
	fix typo causing crash in safari
This commit is contained in:
		
							parent
							
								
									d8bcba94c9
								
							
						
					
					
						commit
						c1100b7b16
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -24,7 +24,7 @@ export const timeDayMonYear = (ts: number): string => dayjs(ts).format('D MMM YY
 | 
			
		|||
export const timeDayMonthYear = (ts: number): string => dayjs(ts).format('D MMMM YYYY');
 | 
			
		||||
 | 
			
		||||
export const daysInMonth = (month: number, year: number): number =>
 | 
			
		||||
  dayjs(`${year}-${month}-1'`).daysInMonth();
 | 
			
		||||
  dayjs(`${year}-${month}-1`).daysInMonth();
 | 
			
		||||
 | 
			
		||||
export const dateFor = (year: number, month: number, day: number): number =>
 | 
			
		||||
  dayjs(`${year}-${month}-${day}`).valueOf();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue