Searched refs:normalize_date (Results 1 – 2 of 2) sorted by relevance
61 assert('' == normalize_date(None))63 assert('2001-02-03' == normalize_date("20010203"))64 assert('1999-04-11' == normalize_date("1999 4 11"))65 assert('1999-04-11' == normalize_date("1999 APR 11"))66 assert('1999-04-11' == normalize_date("APR 11 1999"))67 assert('1999-04-11' == normalize_date("11 APR 1999"))68 assert('1999-04-11' == normalize_date("4 11 1999"))69 assert('1999-04-01' == normalize_date("1999 APR"))70 assert('1999-04-01' == normalize_date("1999 4"))71 assert('1999-04-01' == normalize_date("4 1999"))[all …]
352 def normalize_date(val, iso8601=True): function