This commit is contained in:
Laurent Destailleur 2022-05-16 16:08:54 +02:00
parent 80bce5a893
commit 937d0418b4
2 changed files with 3 additions and 3 deletions

View File

@ -2357,7 +2357,7 @@ function dol_strftime($fmt, $ts = false, $is_gmt = false)
* @param string $tzoutput true or 'gmt' => string is for Greenwich location
* false or 'tzserver' => output string is for local PHP server TZ usage
* 'tzuser' => output string is for user TZ (current browser TZ with current dst) => In a future, we should have same behaviour than 'tzuserrel'
* 'tzuserrel' => output string is for user TZ (current browser TZ with dst or not, depending on date position) (TODO not implemented yet)
* 'tzuserrel' => output string is for user TZ (current browser TZ with dst or not, depending on date position)
* @param Translate $outputlangs Object lang that contains language for text translation.
* @param boolean $encodetooutput false=no convert into output pagecode
* @return string Formated date or '' if time is null

View File

@ -353,8 +353,8 @@ if ($result) {
$lastmodified .= $thirdparty_static->getTypeUrl();
$lastmodified .= '</td>';
// Last modified date
$lastmodified .= '<td class="right tddate" title="'.dol_escape_htmltag($langs->trans("DateModification").' '.dol_print_date($thirdparty_static->date_modification, 'dayhour')).'">';
$lastmodified .= dol_print_date($thirdparty_static->date_modification, 'day');
$lastmodified .= '<td class="right tddate" title="'.dol_escape_htmltag($langs->trans("DateModification").' '.dol_print_date($thirdparty_static->date_modification, 'dayhour', 'tzuserrel')).'">';
$lastmodified .= dol_print_date($thirdparty_static->date_modification, 'day', 'tzuserrel');
$lastmodified .= "</td>";
$lastmodified .= '<td class="right nowrap">';
$lastmodified .= $thirdparty_static->getLibStatut(3);