from datetime import datetime
import re


def get_date_from_string(date_string):
    """Transforms the specified date string into a proper datetime object. """

    format_string = '%Y-%m-%dT%H:%M:%S%z'
    regexp = r"(\+\d{1,2})(:)(\d{1,2})"

    data = datetime \
        .strptime(re.sub(regexp, r"\1\3", date_string), format_string) \
        .replace(tzinfo=None)

    return data