mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[utils] Improve unified_timestamp
This commit is contained in:
		| @@ -1179,7 +1179,7 @@ def unified_timestamp(date_str, day_first=True): | ||||
|     if date_str is None: | ||||
|         return None | ||||
|  | ||||
|     date_str = date_str.replace(',', ' ') | ||||
|     date_str = re.sub(r'[,|]', '', date_str) | ||||
|  | ||||
|     pm_delta = 12 if re.search(r'(?i)PM', date_str) else 0 | ||||
|     timezone, date_str = extract_timezone(date_str) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․