def parse_time_arg(s):
    try:
        return time.strptime(s, "%Y-%m-%d %H:%M")
    except ValueError as e:
        raise argparse.ArgumentTypeError(e)
Test product filtering of questions API call.
dataset/ETHPy150Open sosy-lab/benchexec/benchexec/benchexec.py/parse_time_arg--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/kpi/tests/test_api.py/KpiApiTests.test_questions_by_product