Skip to content
Snippets Groups Projects
Commit cd84cc65 authored by Uma's avatar Uma
Browse files

Fixes #1482 DateTimeFunction error addressed

parent 9d3055b6
No related branches found
No related tags found
No related merge requests found
......@@ -372,7 +372,7 @@ class DateTimeField {
case 'mm.dd.yyyy': list($m, $d, $y) = explode('.', $date); break;
case 'dd.mm.yyyy': list($d, $m, $y) = explode('.', $date); break;
case 'dd/mm/yyyy': list($d, $m, $y) = explode('/', $date); break;
case 'mm/dd/yyyy': list($d, $m, $y) = explode('/', $date); break;
case 'mm/dd/yyyy': list($m, $d, $y) = explode('/', $date); break;
case 'mm-dd-yyyy': list($m, $d, $y) = explode('-', $date); break;
case 'dd-mm-yyyy': list($d, $m, $y) = explode('-', $date); break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment