You are here

function hijri_month_names in Hijri 8

Same name and namespace in other branches
  1. 7 hijri.module \hijri_month_names()

Retrive Hijri months names.

1 call to hijri_month_names()
hijri in ./hijri.module
Retrive Hijri date from given format and timestamp.

File

./hijri.module, line 95
hijri.module This module convert to Hijri date in nodes,comments and a block.

Code

function hijri_month_names() {

  // This Arabic names should written in English with t() function.
  return array(
    '1' => t('Muharram'),
    '2' => t('Safar'),
    '3' => t('Rabia al-Awwal'),
    '4' => t('Rabia ath-Thani'),
    '5' => t('Jumada al-Ula'),
    '6' => t('Jumada ath-Thaniya'),
    '7' => t('Rajab'),
    '8' => t('Shaban'),
    '9' => t('Ramadan'),
    '10' => t('Shawwal'),
    '11' => t('Dhu al-Qada'),
    '12' => t('Dhu al-Hijja'),
  );
}