Hi again,
At the Moment, when I use the button "Ihre Signatur mit Zeitstempel" to sign a text with adding a timestamp, the stamp has the following format:
09:57, 3. Jul. 2007 (CEST)
The timestamp-format doesn't change, when I choose a different date-format in my userprofile-preferences, so maybe it's not the DefaultDateFormat I need to change, but a different parameter?
I'd like to change the timestamp-Format (and/or the DefaultDateFormat) so that the timestamp looks like this:
03.06.2007, 09:57
I found the place, where the timestamp in the signature is configured. Here are the lines from includes/parser.php:
/* Note: This is the timestamp saved as hardcoded wikitext to * the database, we use $wgContLang here in order to give * everyone the same signature and use the default one rather * than the one selected in each user's preferences. */ if ( isset( $wgLocaltimezone ) ) { $oldtz = getenv( 'TZ' ); putenv( 'TZ='.$wgLocaltimezone ); } $d = $wgContLang->timeanddate( date( 'YmdHis' ), false, false) . ' (' . date( 'T' ) . ')'; if ( isset( $wgLocaltimezone ) ) { putenv( 'TZ='.$oldtz ); }
As I understand it, those lines are explicitly there, so that one cannot change the signature-timestamp-format. :(
Is there a way to circumvent this? And how?