function date_month_names_untranslated in Date 7.3
Same name and namespace in other branches
- 5.2 date_api.module \date_month_names_untranslated()
- 6.2 date_api.module \date_month_names_untranslated()
- 6 date_api.module \date_month_names_untranslated()
- 7 date_api/date_api.module \date_month_names_untranslated()
- 7.2 date_api/date_api.module \date_month_names_untranslated()
Constructs an untranslated array of month names.
Needed for CSS, translation functions, strtotime(), and other places that use the English versions of these words.
Return value
array An array of month names.
2 calls to date_month_names_untranslated()
- date_month_names in date_api/
date_api.module - Returns a translated array of month names.
- date_month_names_abbr in date_api/
date_api.module - Constructs a translated array of month name abbreviations.
File
- date_api/
date_api.module, line 1184 - This module will make the date API available to other modules.
Code
function date_month_names_untranslated() {
static $month_names;
if (empty($month_names)) {
$month_names = array(
1 => 'January',
2 => 'February',
3 => 'March',
4 => 'April',
5 => 'May',
6 => 'June',
7 => 'July',
8 => 'August',
9 => 'September',
10 => 'October',
11 => 'November',
12 => 'December',
);
}
return $month_names;
}