dyears() instead of dyear() (#1429)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							cc5e351c10
						
					
				
				
					commit
					7f2e1d6f19
				
			@@ -654,7 +654,7 @@ flights_dt |>
 | 
			
		||||
### Intervals {#sec-intervals}
 | 
			
		||||
 | 
			
		||||
What does `dyears(1) / ddays(365)` return?
 | 
			
		||||
It's not quite one, because `dyear()` is defined as the number of seconds per average year, which is 365.25 days.
 | 
			
		||||
It's not quite one, because `dyears()` is defined as the number of seconds per average year, which is 365.25 days.
 | 
			
		||||
 | 
			
		||||
What does `years(1) / days(1)` return?
 | 
			
		||||
Well, if the year was 2015 it should return 365, but if it was 2016, it should return 366!
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user