Parsing datetime strings to timezone-aware datetime objects efficiently.If no timezone information is present in the string, UTC is assumed.Our labels can contain timestamps in different formats, but applying dateutil.parse straight away is expensive
as it is very smart and tries to guess the time format.So instead we’re applying parsers with known formats, starting from the formats most likely to occur,
and falling back to the most complicated logic only in case of all other attempts have failed.Arguments:
time_string - A string containing a datetime in various possible formats.
Returns:A timezone-aware datetime object (UTC if no timezone was specified).