diff options
Diffstat (limited to 'progs/unparsable_programs/a327.py')
-rw-r--r-- | progs/unparsable_programs/a327.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/unparsable_programs/a327.py b/progs/unparsable_programs/a327.py new file mode 100644 index 0000000..f3946d3 --- /dev/null +++ b/progs/unparsable_programs/a327.py @@ -0,0 +1,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)
\ No newline at end of file |