mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:10:04 +00:00 
			
		
		
		
	Collection time should not include milliseconds when selecting based off time
This commit is contained in:
		
							parent
							
								
									607d72d7bb
								
							
						
					
					
						commit
						e522f85a72
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1507,10 +1507,10 @@ RadarProductManager::GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType, | ||||||
| 
 | 
 | ||||||
|          if (recordRadarData != nullptr) |          if (recordRadarData != nullptr) | ||||||
|          { |          { | ||||||
|             auto& radarData0 = (*recordRadarData)[0]; |             auto& radarData0     = (*recordRadarData)[0]; | ||||||
|             auto  collectionTime = |             auto  collectionTime = std::chrono::floor<std::chrono::seconds>( | ||||||
|                scwx::util::TimePoint(radarData0->modified_julian_date(), |                scwx::util::TimePoint(radarData0->modified_julian_date(), | ||||||
|                                      radarData0->collection_time()); |                                      radarData0->collection_time())); | ||||||
| 
 | 
 | ||||||
|             // Find the newest radar data, not newer than the selected time
 |             // Find the newest radar data, not newer than the selected time
 | ||||||
|             if (radarData == nullptr || |             if (radarData == nullptr || | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat