Skip to content
Snippets Groups Projects
Commit 69d6f7a4 authored by Prasad's avatar Prasad
Browse files

Merge branch '158801370' into 'master'

#Fixes::158801370::madhusr::search based on the specific date format...

See merge request !1120
parents 82224b8d 37a4db10
No related branches found
No related tags found
1 merge request!1120#Fixes::158801370::madhusr::search based on the specific date format...
......@@ -44,6 +44,12 @@ class MailManager_Folder_View extends MailManager_Abstract_View {
$dateArray[0] = $dateArray[1];
$dateArray[1] = $temp;
$q = implode('-', $dateArray);
} else if ($dateFormat == 'dd/mm/yyyy'){
$dateArray = explode('/', $q);
$temp = $dateArray[0];
$dateArray[0] = $dateArray[1];
$dateArray[1] = $temp;
$q = implode('/', $dateArray);
}
$query = date('d M Y',strtotime($q));
$q = ''.$type.' "'.vtlib_purify($query).'"';
......
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