You are here

function hijri_day_names in Hijri 8

Retrive day names to replace the N in date function.

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

File

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

Code

function hijri_day_names() {
  return array(
    '1' => t('Monday'),
    '2' => t('Tuesday'),
    '3' => t('Wednesday'),
    '4' => t('Thursday'),
    '5' => t('Friday'),
    '6' => t('Saturday'),
    '7' => t('Sunday'),
  );
}