mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
NEW Show full date with seconds in the tooltip of date of event
This commit is contained in:
@@ -2640,7 +2640,7 @@ if ($id > 0 && $action != 'create') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Date start
|
// Date start
|
||||||
print '<tr><td>'.$langs->trans("DateActionStart").'</td><td>';
|
print '<tr><td>'.$langs->trans("DateActionStart").'</td><td title="'.dol_print_date($object->datep, 'dayhoursec', 'tzuserrel').'">';
|
||||||
// Test a date before the 27 march and one after
|
// Test a date before the 27 march and one after
|
||||||
//print dol_print_date($object->datep, 'dayhour', 'gmt');
|
//print dol_print_date($object->datep, 'dayhour', 'gmt');
|
||||||
//print dol_print_date($object->datep, 'dayhour', 'tzuser');
|
//print dol_print_date($object->datep, 'dayhour', 'tzuser');
|
||||||
@@ -2658,7 +2658,7 @@ if ($id > 0 && $action != 'create') {
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Date end
|
// Date end
|
||||||
print '<tr><td>'.$langs->trans("DateActionEnd").'</td><td>';
|
print '<tr><td>'.$langs->trans("DateActionEnd").'</td><td title="'.dol_print_date($object->datef, 'dayhoursec', 'tzuserrel').'">';
|
||||||
if (empty($object->fulldayevent)) {
|
if (empty($object->fulldayevent)) {
|
||||||
print dol_print_date($object->datef, 'dayhour', 'tzuserrel');
|
print dol_print_date($object->datef, 'dayhour', 'tzuserrel');
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user