Core/Html/Controls/DateTimePicker.php
public function setLocale(string $locale): DateTimePicker
    {
        $this->option_locale = $locale;
        $this->set_options['locale'] = 'locale';

        return $this;
    }
public function setLocale(string $locale): DateTimePicker
    {
        $this->option_locale = $locale;
        $this->set_options['locale'] = 'locale';

        return $this;
    }
public function setLocale ( string $ locale ) : DateTimePicker { $ this -> option_locale = $ locale ; $ this -> set_options [ 'locale' ] = 'locale' ; return $ this ; }
Sets locale to use

@param string $locale

@return DateTimePicker
Sets locale to use