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