Skip to content

Commit

Permalink
Add support for Lumen
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed May 22, 2015
1 parent fa657ff commit 3cd46cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DateServiceProvider extends ServiceProvider {
*/
public function boot()
{
$locale = $this->app->getLocale();
$locale = $this->app['translator']->getLocale();

Date::setLocale($locale);
}
Expand Down

0 comments on commit 3cd46cd

Please sign in to comment.