From 571235396cca4103223032bf13705da32437e333 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Thu, 28 Apr 2005 08:46:09 +0000 Subject: [PATCH] * Fixed a bug that appeared when the 'date' preference was set to 'ISO 8601' and $wgUseDynamicDates was true. --- includes/DateFormatter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/DateFormatter.php b/includes/DateFormatter.php index f135d32617..1a5e595b73 100755 --- a/includes/DateFormatter.php +++ b/includes/DateFormatter.php @@ -132,6 +132,7 @@ class DateFormatter * @param $text */ function reformat( $preference, $text ) { + if ($preference == 'ISO 8601') $preference = 4; # The ISO 8601 option used to be 4 for ( $i=1; $i<=DF_LAST; $i++ ) { $this->mSource = $i; if ( @$this->rules[$preference][$i] ) { -- 2.20.1