Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager Datum Umlaut Problem
#8
@Carlos,

ja, das ist ok so, vielleicht noch einen Link zu einer deutschen PHP-Seite, auf der die Datums-Ausgabe-Formate verständlich beschrieben sind:

http://www.selfphp.de/funktionsreferenz/...n/date.php

Die Voraussetzungen für eine korrekte Datums-Anzeige sind diese Einträge in der Datei gsconfig.php:

PHP Code:
# Set PHP locale
# http://php.net/manual/en/function.setlocale.php
setLocale(LC_ALL'de_DE.UTF-8''de_DE.utf8''de_DE''german.utf8''german''sv');
$LANG 'de_DE';
# Define default timezone of server, accepts php timezone string
define('GSTIMEZONE''Europe/Amsterdam'); 

dann kann die Einstellung in der Sprachdatei des Plugins angepasst werden, so wie man es gerne hätte.

Achtung: Ganz wichtig: alle diese Änderungen (in gsconfig.php und in der Sprachdatei des Plugins müssen mit einem Editor gemacht werden, der UTF-8 ohne BOM produziert! Nicht mit WORD oder so Dingens..

In english:

Carlos, well, you did it correct. I would love to add a link to a german php-site to explain the german dateformats.

http://www.selfphp.de/funktionsreferenz/...n/date.php

the base for a correct date and time are the following entries in gsconfig.php:

PHP Code:
# Set PHP locale
# http://php.net/manual/en/function.setlocale.php
setLocale(LC_ALL'de_DE.UTF-8''de_DE.utf8''de_DE''german.utf8''german''sv');
$LANG 'de_DE';
# Define default timezone of server, accepts php timezone string
define('GSTIMEZONE''Europe/Amsterdam'); 

then you can define which date-version you want in the language file of the plugin as you like

Attention: Absolutely important: All these edits in gsconfig.php and in the language file must be done with an editor which produces UTF-8 without BOM! Do not use WORD or other wordprocessors---
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
News Manager Datum Umlaut Problem - by pwfraley - 2013-03-20, 06:20:02
RE: News Manager Datum Umlaut Problem - by Carlos - 2013-03-20, 06:27:53
RE: News Manager Datum Umlaut Problem - by Carlos - 2013-03-20, 06:31:58
RE: News Manager Datum Umlaut Problem - by Carlos - 2013-03-20, 06:41:23
RE: News Manager Datum Umlaut Problem - by Connie - 2013-03-20, 17:53:21



Users browsing this thread: 1 Guest(s)