def format_to_db_value(value): return "\"" + support.create_date_str(value) + "\""
def generate_json(cls, value): return "\"" + support.create_date_str(value) + "\""
def test_create_date_str(): d = datetime.date(year=2014, month=10, day=17) run_tests.compare_answer(support.create_date_str(d), "2014-10-17", "")