mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 14:20:06 +00:00 
			
		
		
		
	Update most instances of current time to use a time offset
This commit is contained in:
		
							parent
							
								
									e0a4dee72b
								
							
						
					
					
						commit
						bd27d0e562
					
				
					 19 changed files with 48 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -187,7 +187,7 @@ void OverlayProductView::Impl::LoadProduct(
 | 
			
		|||
                  header.date_of_message(), header.time_of_message() * 1000);
 | 
			
		||||
 | 
			
		||||
               // If the record is from the last 30 minutes
 | 
			
		||||
               if (productTime + 30min >= std::chrono::system_clock::now() ||
 | 
			
		||||
               if (productTime + 30min >= scwx::util::time::now() ||
 | 
			
		||||
                   (selectedTime_ != std::chrono::system_clock::time_point {} &&
 | 
			
		||||
                    productTime + 30min >= selectedTime_))
 | 
			
		||||
               {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue