mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:22:45 +00:00 
			
		
		
		
	LibWeb: Fix is valid time not possible compare bug
This commit is contained in:
		
							parent
							
								
									6bde5a1f85
								
							
						
					
					
						commit
						be511fdcf7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -163,7 +163,7 @@ bool is_valid_time_string(StringView value) | |||
|     // 1. A U+002E FULL STOP character (.)
 | ||||
|     // 2. One, two, or three ASCII digits, representing the fractional part of second
 | ||||
|     auto parts = value.split_view(':'); | ||||
|     if (parts.size() != 2 || parts.size() != 3) | ||||
|     if (parts.size() != 2 && parts.size() != 3) | ||||
|         return false; | ||||
|     if (parts[0].length() != 2) | ||||
|         return false; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Bastiaan van der Plaat
						Bastiaan van der Plaat