function calendar_untranslated_days in Calendar 7.2
Same name and namespace in other branches
- 5.2 calendar.inc \calendar_untranslated_days()
- 6.2 calendar.module \calendar_untranslated_days()
- 7.3 calendar.module \calendar_untranslated_days()
- 7 calendar.module \calendar_untranslated_days()
Array of untranslated day name abbreviations, forced to lowercase and ordered appropriately for the site setting for the first day of week.
The untranslated day abbreviation is used in css classes.
5 calls to calendar_untranslated_days()
- calendar_build_mini_week in calendar_multiday/
includes/ calendar.inc - Build one week row.
- calendar_build_month in calendar_multiday/
includes/ calendar.inc - Build one month.
- calendar_build_week in includes/
calendar.inc - Build one week row.
- calendar_build_week in calendar_multiday/
includes/ calendar.inc - Build one week row.
- calendar_week_header in ./
calendar.module - Formats the weekday information into table header format
File
- ./
calendar.module, line 546 - Adds calendar filtering and displays to Views.
Code
function calendar_untranslated_days() {
$untranslated_days = date_week_days_ordered(date_week_days_untranslated());
foreach ($untranslated_days as $delta => $day) {
$untranslated_days[$delta] = strtolower(substr($day, 0, 3));
}
return $untranslated_days;
}