09faa8e6fdb1ca5345742fb70763314a6ecd055b
				
			
			
		
	Fixes #65 ```python def test_specific_precise_if_unncessary(self): delta = timedelta(hours=2, minutes=40) result = format_duration(delta, "%02.0H:%02.0m") self.assertEqual(result, "02:40") ``` This test fails by returning "03:40" instead. The problem is in the way `format_duration` handles fractional hours. To fix it, we need to switch between using hours and fractional hours depending on if minutes are present in the formatted string.
Timetracker
A simple game catalogue and play session tracker.
Description
				
					Languages
				
				
								
								
									Python
								
								46.9%
							
						
							
								
								
									HTML
								
								28.4%
							
						
							
								
								
									CSS
								
								20.3%
							
						
							
								
								
									JavaScript
								
								3.1%
							
						
							
								
								
									Dockerfile
								
								0.5%
							
						
							
								
								
									Other
								
								0.7%