* (bug 3817) Use localized date formats in preferences; 'no preference' option
[lhc/web/wiklou.git] / languages / LanguageDe.php
index 5438d08..d2d0a2d 100644 (file)
@@ -1247,15 +1247,13 @@ class LanguageDe extends LanguageUtf8 {
                global $wgSkinNamesDe;
                return $wgSkinNamesDe;
        }
-
-       function date( $ts, $adj = false ) {
-               if ( $adj ) { $ts = $this->userAdjust( $ts ); }
-
-               $d = (0 + substr( $ts, 6, 2 )) . ". " .
-               $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
-                 " " .
-                 substr( $ts, 0, 4 );
-               return $d;
+       
+       function formatMonth( $month, $format ) {
+               return $this->getMonthAbbreviation( $month );
+       }
+       
+       function formatDay( $day, $format ) {
+               return parent::formatDay( $day, $format ) . '.';
        }
 
        function getMessage( $key ) {