Merge "Rehabilitate DateFormatter"
[lhc/web/wiklou.git] / includes / ServiceWiring.php
index a82feaa..fed1b6d 100644 (file)
@@ -138,6 +138,10 @@ return [
                return new CryptRand();
        },
 
+       'DateFormatterFactory' => function () : DateFormatterFactory {
+               return new DateFormatterFactory;
+       },
+
        'DBLoadBalancer' => function ( MediaWikiServices $services ) : Wikimedia\Rdbms\LoadBalancer {
                // just return the default LB from the DBLoadBalancerFactory service
                return $services->getDBLoadBalancerFactory()->getMainLB();