Index: trunk/phase3/includes/Parser.php |
— | — | @@ -2416,6 +2416,8 @@ |
2417 | 2417 | $oldtz = getenv( 'TZ' ); |
2418 | 2418 | putenv( 'TZ='.$wgLocaltimezone ); |
2419 | 2419 | } |
| 2420 | + $oe_level = error_reporting(E_ALL); #grrrr |
| 2421 | + |
2420 | 2422 | $localTimestamp = date( 'YmdHis', $ts ); |
2421 | 2423 | $localMonth = date( 'm', $ts ); |
2422 | 2424 | $localMonthName = date( 'n', $ts ); |
— | — | @@ -2428,6 +2430,8 @@ |
2429 | 2431 | if ( isset( $wgLocaltimezone ) ) { |
2430 | 2432 | putenv( 'TZ='.$oldtz ); |
2431 | 2433 | } |
| 2434 | + |
| 2435 | + error_reporting($oe_level); #grrrr |
2432 | 2436 | |
2433 | 2437 | switch ( $index ) { |
2434 | 2438 | case 'currentmonth': |