src/Carbon/CarbonTimeZone.php
public function getAbbreviatedName($dst = false)
    {
        $name = $this->getName();

        foreach ($this->listAbbreviations() as $abbreviation => $zones) {
            foreach ($zones as $zone) {
                if ($zone['timezone_id'] === $name && $zone['dst'] == $dst) {
                    return $abbreviation;
                }
            }
        }

        return 'unknown';
    }
public function getAbbreviatedName($dst = false)
    {
        $name = $this->getName();

        foreach ($this->listAbbreviations() as $abbreviation => $zones) {
            foreach ($zones as $zone) {
                if ($zone['timezone_id'] === $name && $zone['dst'] == $dst) {
                    return $abbreviation;
                }
            }
        }

        return 'unknown';
    }
public function getAbbreviatedName ( $ dst = false ) { $ name = $ this -> getName ( ) ; foreach ( $ this -> listAbbreviations ( ) as $ abbreviation => $ zones ) { foreach ( $ zones as $ zone ) { if ( $ zone [ 'timezone_id' ] === $ name && $ zone [ 'dst' ] == $ dst ) { return $ abbreviation ; } } } return 'unknown' ; }
Returns abbreviated name of the current timezone according to DST setting.

@param bool $dst

@return string
Returns abbreviated name of the current timezone according to DST setting .