summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a327.py
blob: f3946d37b434d8d94b132cb3d8ea92c2bd4dd883 (plain)
1
2
3
4
import re
def change_date_format(dt):
        return re.sub(r'(\d{4})-(\d{1,2})-(\d{1,2})', '\\3-\\2-\\1', dt)
        return change_date_format(dt)