You are here

function date_repeat_dow_day_untranslated in Date 8

Same name and namespace in other branches
  1. 7.3 date_repeat/date_repeat.module \date_repeat_dow_day_untranslated()
  2. 7.2 date_repeat/date_repeat.module \date_repeat_dow_day_untranslated()
1 call to date_repeat_dow_day_untranslated()
date_repeat_dow_day_options_abbr in date_repeat/date_repeat.module
Helper function for FREQ options.

File

date_repeat/date_repeat.module, line 113
This module creates a form element that allows users to select repeat rules for a date, and reworks the result into an iCal RRULE string that can be stored in the database.

Code

function date_repeat_dow_day_untranslated() {
  static $date_repeat_weekdays;
  if (empty($date_repeat_weekdays)) {
    $date_repeat_weekdays = array(
      'SU' => 'Sunday',
      'MO' => 'Monday',
      'TU' => 'Tuesday',
      'WE' => 'Wednesday',
      'TH' => 'Thursday',
      'FR' => 'Friday',
      'SA' => 'Saturday',
    );
  }
  return $date_repeat_weekdays;
}