from datetime import datetime
import pytz


def tumblr_date_to_datetime(timestamp):
    """
    2016-01-15 22:01:42 GMT -> datetime()
    """
    dt = datetime.strptime(timestamp, '%Y-%m-%d %H:%M:%S GMT')
    return dt.replace(tzinfo=pytz.utc)