X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=d450bdd33cebbd8df473cea732a33797e735924a;hb=b1867ec1daadf827c67220bbef3f9e091dddb3ad;hp=6838c372608fb3accafae471ab4f8365a783ccf0;hpb=4fe1735ba32b11ab9115f36511508885045ebdb2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index 6838c37260..d450bdd33c 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -728,7 +728,7 @@ if ( is_null( $wgLocaltimezone ) ) { date_default_timezone_set( $wgLocaltimezone ); if ( is_null( $wgLocalTZoffset ) ) { - $wgLocalTZoffset = date( 'Z' ) / 60; + $wgLocalTZoffset = (int)date( 'Z' ) / 60; } // The part after the System| is ignored, but rest of MW fills it // out as the local offset.