def extract_time(element):
    if element is None:
        return None

    try:
        dt = parser.parse(element.text)
    except Exception:
        att = testXMLValue(element.attrib.get('indeterminatePosition'), True)
        if att and att == 'now':
            dt = datetime.utcnow()
            dt.replace(tzinfo=pytz.utc)
        else:
            dt = None
    return dt
:return: default arguments given on ``init``.
dataset/ETHPy150Open geopython/OWSLib/owslib/util.py/extract_time--crossover with--dataset/ETHPy150Open manicmaniac/headlessvim/headlessvim/arguments.py/Parser.default_args