summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a790.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/unparsable_programs/a790.py')
-rw-r--r--progs/unparsable_programs/a790.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/unparsable_programs/a790.py b/progs/unparsable_programs/a790.py
new file mode 100644
index 0000000..a164a22
--- /dev/null
+++ b/progs/unparsable_programs/a790.py
@@ -0,0 +1,3 @@
+import re
+def change_date_format(dt):
+ return re.sub(r'(\d{4})-(\d{1,2})-(\d{1,2})', '\\3-\\2-\\1', dt) \ No newline at end of file