app/Date/JewishDate.php
protected function formatDay(): string
    {
        $locale = app(LocaleInterface::class)->language()->code();

        if ($locale === 'he' || $locale === 'yi') {
            return (new JewishCalendar())->numberToHebrewNumerals($this->day, true);
        }

        return parent::formatDay();
    }
protected function formatDay(): string
    {
        $locale = app(LocaleInterface::class)->language()->code();

        if ($locale === 'he' || $locale === 'yi') {
            return (new JewishCalendar())->numberToHebrewNumerals($this->day, true);
        }

        return parent::formatDay();
    }
protected function formatDay ( ) : string { $ locale = app ( LocaleInterface :: class ) -> language ( ) -> code ( ) ; if ( $ locale === 'he' || $ locale === 'yi' ) { return ( new JewishCalendar ( ) ) -> numberToHebrewNumerals ( $ this -> day , true ) ; } return parent :: formatDay ( ) ; }
Generate the %j format for a date.

@return string
Generate the %j format for a date .