From a67b3d8cf5ca14564112228041590bc1493e2d21 Mon Sep 17 00:00:00 2001 From: Norbert Penel Date: Thu, 24 Oct 2019 18:55:43 +0200 Subject: [PATCH] Implement new now feature https://github.com/Dolibarr/dolibarr/pull/12148/commits/8d75e83e5506219068af85161ac150e06e3eacf1 --- htdocs/comm/action/card.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index 6e8c5535f03..417c110dd75 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -861,11 +861,11 @@ if ($action == 'create') if (GETPOST('datep', 'int', 1)) $datep=dol_stringtotime(GETPOST('datep', 'int', 1), 0); print ''.$langs->trans("DateActionStart").''; if (GETPOST("afaire") == 1) { - print $form->selectDate($datep, 'ap', 1, 1, 0, "action", 1, 1, 0, 'fulldayend'); + print $form->selectDate($datep, 'ap', 1, 1, 0, "action", 1, 2, 0, 'fulldayend'); } elseif (GETPOST("afaire") == 2) { - print $form->selectDate($datep, 'ap', 1, 1, 1, "action", 1, 1, 0, 'fulldayend'); + print $form->selectDate($datep, 'ap', 1, 1, 1, "action", 1, 2, 0, 'fulldayend'); } else { - print $form->selectDate($datep, 'ap', 1, 1, 1, "action", 1, 1, 0, 'fulldaystart'); + print $form->selectDate($datep, 'ap', 1, 1, 1, "action", 1, 2, 0, 'fulldaystart'); } print '';