marcoxz
-
Content count
3 -
Joined
-
Last visited
Posts posted by marcoxz
-
-
Ach ja das läuft so auch auf 2.3.4
In der profile.php muß zusätzlich noch diese Zeile:
$member['_local_time'] = $member['time_offset'] != "" ? gmdate( $this->ipsclass->vars['clock_long'], time() + ($member['time_offset']*3600) + ($time_adjust * 60) ) : '';
Durch diese:$member['_local_time'] = $member['time_offset'] != "" ? strftime( $this->ipsclass->vars['clock_long'], time() + ($member['time_offset']*3600) + ($time_adjust * 60) ) : '';
ersetzt werden. Und dann noch: in der ipsclass.php müssen noch die anderen Datums formate also die mit % eingesetzt werden (sonst stimmen die Zeiten in der Profil ansicht nicht) also 'TINY' und 'DATE'//----------------------------------------- // Time options //----------------------------------------- $this->time_options = array( 'JOINED' => $this->vars['clock_joined'], 'SHORT' => $this->vars['clock_short'], 'LONG' => $this->vars['clock_long'], 'TINY' => isset($this->vars['clock_tiny']) ? $this->vars['clock_tiny'] : 'j M Y - G:i', 'DATE' => isset($this->vars['clock_date']) ? $this->vars['clock_date'] : 'j M Y', ); $this->num_format = ( $this->vars['number_format'] == 'space' ) ? ' ' : $this->vars['number_format'];
-
Für die die es interessiert:
http://forums.invisionize.com/Localize-Dat...mp;hl=setlocale
Ohne viel Aufwand
Ciao Marco
Datum in Deutsch
in Sprachpakete
Posted · Report reply
GAAAANZ Wichtig nehmt nicht "LC_ALL" sondern "LC_TIME" sonst haben einige Plugins Probleme... z.B. D23 Google Member Maps...