NEW set today start time at begining
This commit is contained in:
parent
bae3583fe3
commit
62b70b37d3
@ -877,6 +877,7 @@ print "</tr>\n";
|
|||||||
|
|
||||||
$now = dol_now();
|
$now = dol_now();
|
||||||
$delay_warning = $conf->global->MAIN_DELAY_ACTIONS_TODO * 24 * 60 * 60;
|
$delay_warning = $conf->global->MAIN_DELAY_ACTIONS_TODO * 24 * 60 * 60;
|
||||||
|
$today_start_time = dol_mktime(0, 0, 0, date('m', $now), date('d', $now), date('Y', $now));
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/cactioncomm.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/cactioncomm.class.php';
|
||||||
$caction = new CActionComm($db);
|
$caction = new CActionComm($db);
|
||||||
@ -943,8 +944,8 @@ while ($i < $imaxinloop) {
|
|||||||
$event_more_class = '';
|
$event_more_class = '';
|
||||||
$event_start_date_style = '';
|
$event_start_date_style = '';
|
||||||
$event_start_date_time = $actionstatic->datep;
|
$event_start_date_time = $actionstatic->datep;
|
||||||
if ($obj->fulldayevent) {
|
if ($obj->fulldayevent == 1) {
|
||||||
$today_start_date_time = dol_mktime(0, 0, 0, date('m', $now), date('d', $now), date('Y', $now));
|
$today_start_date_time = $today_start_time;
|
||||||
} else {
|
} else {
|
||||||
$today_start_date_time = $now;
|
$today_start_date_time = $now;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user