from datetime import datetime


def process_date(value_str):
    """date(2015-05-06) -> datetime(2015, 05, 06)"""

    date_str = value_str[5:len(value_str)-1]
    return datetime.strptime(date_str, "%Y-%m-%d")