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

Merge branch 'DateTimeField_Sanitize_Function' into '7.4.0'

Fixes #1482 DateTimeFunction error addressed

See merge request !764
parents 9d3055b6 cd84cc65
No related branches found
No related tags found
2 merge requests!802Field Mapping ID fix,!793#1533 issue on date formate
......@@ -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