src/streamlink/plugins/crunchyroll.py
def parse_timestamp(ts):
    """Takes ISO 8601 format(string) and converts into a utc datetime(naive)"""
    return (
        datetime.datetime.strptime(ts[:-7], "%Y-%m-%dT%H:%M:%S") +
        datetime.timedelta(hours=int(ts[-5:-3]), minutes=int(ts[-2:])) *
        int(ts[-6:-5] + "1")
    )
def parse_timestamp(ts):
    """Takes ISO 8601 format(string) and converts into a utc datetime(naive)"""
    return (
        datetime.datetime.strptime(ts[:-7], "%Y-%m-%dT%H:%M:%S") +
        datetime.timedelta(hours=int(ts[-5:-3]), minutes=int(ts[-2:])) *
        int(ts[-6:-5] + "1")
    )
def parse_timestamp ( ts ) : return ( datetime . datetime . strptime ( ts [ : - 7 ] , "%Y-%m-%dT%H:%M:%S" ) + datetime . timedelta ( hours = int ( ts [ - 5 : - 3 ] ) , minutes = int ( ts [ - 2 : ] ) ) * int ( ts [ - 6 : - 5 ] + "1" ) )
Takes ISO 8601 format(string) and converts into a utc datetime(naive)
Takes ISO 8601 format ( string ) and converts into a utc datetime ( naive )