Index: trunk/phase3/languages/Language.php |
— | — | @@ -438,7 +438,8 @@ |
439 | 439 | # No difference ? Return time unchanged |
440 | 440 | if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; } |
441 | 441 | |
442 | | - # Generate an adjusted date |
| 442 | + $eo_level = error_reporting(E_ALL); //grrr, no system date bitching |
| 443 | + # Generate an adjusted date |
443 | 444 | $t = mktime( ( |
444 | 445 | (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours |
445 | 446 | (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes |
— | — | @@ -446,7 +447,11 @@ |
447 | 448 | (int)substr( $ts, 4, 2 ), # Month |
448 | 449 | (int)substr( $ts, 6, 2 ), # Day |
449 | 450 | (int)substr( $ts, 0, 4 ) ); #Year |
450 | | - return date( 'YmdHis', $t ); |
| 451 | + |
| 452 | + $date = date( 'YmdHis', $t ); |
| 453 | + error_reporting($eo_level); //grrr |
| 454 | + |
| 455 | + return $date; |
451 | 456 | } |
452 | 457 | |
453 | 458 | /** |