src/Support/LocaleManager.php
public function setTimeLocale($locale = null)
    {
        $locale = $locale ?: $this->session->get('_locale', $this->app->getLocale());

        setlocale(LC_TIME, $this->config->get('translatable.full_locales.' . $locale, null));

        Carbon::setLocale($locale);
    }
public function setTimeLocale($locale = null)
    {
        $locale = $locale ?: $this->session->get('_locale', $this->app->getLocale());

        setlocale(LC_TIME, $this->config->get('translatable.full_locales.' . $locale, null));

        Carbon::setLocale($locale);
    }
public function setTimeLocale ( $ locale = null ) { $ locale = $ locale ? : $ this -> session -> get ( '_locale' , $ this -> app -> getLocale ( ) ) ; setlocale ( LC_TIME , $ this -> config -> get ( 'translatable.full_locales.' . $ locale , null ) ) ; Carbon :: setLocale ( $ locale ) ; }
Sets the time locale

@param string $locale
@return void
Sets the time locale