Tools.php
public static function getMonthName($month)
    {
        if ($month < 1 || $month > 12) {
            return '';
        }

        $monthNames = [
            1 => self::poorManTranslate('fts-shared', 'January'),
            2 => self::poorManTranslate('fts-shared', 'February'),
            3 => self::poorManTranslate('fts-shared', 'March'),
            4 => self::poorManTranslate('fts-shared', 'April'),
            5 => self::poorManTranslate('fts-shared', 'May'),
            6 => self::poorManTranslate('fts-shared', 'June'),
            7 => self::poorManTranslate('fts-shared', 'July'),
            8 => self::poorManTranslate('fts-shared', 'August'),
            9 => self::poorManTranslate('fts-shared', 'September'),
            10 => self::poorManTranslate('fts-shared', 'October'),
            11 => self::poorManTranslate('fts-shared', 'November'),
            12 => self::poorManTranslate('fts-shared', 'December'),
        ];

        return $monthNames[$month];
    }
public static function getMonthName($month)
    {
        if ($month < 1 || $month > 12) {
            return '';
        }

        $monthNames = [
            1 => self::poorManTranslate('fts-shared', 'January'),
            2 => self::poorManTranslate('fts-shared', 'February'),
            3 => self::poorManTranslate('fts-shared', 'March'),
            4 => self::poorManTranslate('fts-shared', 'April'),
            5 => self::poorManTranslate('fts-shared', 'May'),
            6 => self::poorManTranslate('fts-shared', 'June'),
            7 => self::poorManTranslate('fts-shared', 'July'),
            8 => self::poorManTranslate('fts-shared', 'August'),
            9 => self::poorManTranslate('fts-shared', 'September'),
            10 => self::poorManTranslate('fts-shared', 'October'),
            11 => self::poorManTranslate('fts-shared', 'November'),
            12 => self::poorManTranslate('fts-shared', 'December'),
        ];

        return $monthNames[$month];
    }
public static function getMonthName ( $ month ) { if ( $ month < 1 || $ month > 12 ) { return '' ; } $ monthNames = [ 1 => self :: poorManTranslate ( 'fts-shared' , 'January' ) , 2 => self :: poorManTranslate ( 'fts-shared' , 'February' ) , 3 => self :: poorManTranslate ( 'fts-shared' , 'March' ) , 4 => self :: poorManTranslate ( 'fts-shared' , 'April' ) , 5 => self :: poorManTranslate ( 'fts-shared' , 'May' ) , 6 => self :: poorManTranslate ( 'fts-shared' , 'June' ) , 7 => self :: poorManTranslate ( 'fts-shared' , 'July' ) , 8 => self :: poorManTranslate ( 'fts-shared' , 'August' ) , 9 => self :: poorManTranslate ( 'fts-shared' , 'September' ) , 10 => self :: poorManTranslate ( 'fts-shared' , 'October' ) , 11 => self :: poorManTranslate ( 'fts-shared' , 'November' ) , 12 => self :: poorManTranslate ( 'fts-shared' , 'December' ) , ] ; return $ monthNames [ $ month ] ; }
Get month name in current language

@param int $month Month number

@return string Localised month name
@static
Get month name in current language