<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def parse_date(val, zone='default'):
    val = parse_isodate(val, None)
    ''' date has no ISO zone information '''
    if not val.tzinfo:
        val = timezone[zone].localize(val)
    return val