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

Fixes #1263 Redundant date comparison has been altered for datetime fields

parent f84bded9
No related branches found
No related tags found
No related merge requests found
......@@ -383,9 +383,7 @@ class WorkFlowScheduler {
case 'more than days later' :
$days = $condition['value']-1;
if($fieldType[0] == 'D'){
$value = date('Y-m-d', strtotime('+'.$days.' days'));
}else if($fieldType[0] == 'DT'){
if($fieldType[0] == 'DT'){
$value = date('Y-m-d', strtotime('+'.$days.' days')).' '.'23:59:59';
}else{
$value = date('Y-m-d', strtotime('+'.$days.' days'));
......
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