Laurent Destailleur %!s(int64=3) %!d(string=hai) anos
pai
achega
937d0418b4
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      htdocs/core/lib/functions.lib.php
  2. 2 2
      htdocs/societe/index.php

+ 1 - 1
htdocs/core/lib/functions.lib.php

@@ -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

+ 2 - 2
htdocs/societe/index.php

@@ -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);