1 date.inc date_week_days_untranslated()

Constructs an untranslated array of week days.

Needed for CSS, translation functions, strtotime(), and other places that use the English versions of these words.

Return value

array: An array of week day names

File

core/includes/date.inc, line 155
Date API functions.

Code

function date_week_days_untranslated() {
  static $weekdays;
  if (empty($weekdays)) {
    $weekdays = array(
      'Sunday',
      'Monday',
      'Tuesday',
      'Wednesday',
      'Thursday',
      'Friday',
      'Saturday',
    );
  }
  return $weekdays;
}