You are here

private function Date::monthShortName in PersianTools 7

returns abbreviated names of the month

@access private

Parameters

int $monthValue:

Return value

string

1 call to Date::monthShortName()
Date::format in includes/Date.php
this is a clone of the internal php function date() with a few exceptions in the acceptable parameters

File

includes/Date.php, line 375

Class

Date

Namespace

Shamsi

Code

private function monthShortName($monthValue) {
  $monthShort = array(
    1 => 'فرو',
    'ارد',
    'خرد',
    'تير',
    'مرد',
    'شهر',
    'مهر',
    'آبا',
    'آذر',
    'دي',
    'بهم',
    'اسف',
  );
  return $monthShort[$monthValue];
}