$weekday_initial_) { $weekday_initial[$weekday_] = preg_replace('/_.+_initial$/', '', $weekday_initial_); } // Abbreviations for each day. $weekday_abbrev[__('Domingo')] = __('Dom'); $weekday_abbrev[__('Lunes')] = __('Lun'); $weekday_abbrev[__('Martes')] = __('Mar'); $weekday_abbrev[__('Miercoles')] = __('Mie'); $weekday_abbrev[__('Jueves')] = __('Vue'); $weekday_abbrev[__('Viernes')] = __('Vie'); $weekday_abbrev[__('Sabado')] = __('Sab'); // The Months $month['01'] = __('Enero'); $month['02'] = __('Febrero'); $month['03'] = __('Marzo'); $month['04'] = __('Abril'); $month['05'] = __('Mayo'); $month['06'] = __('Junio'); $month['07'] = __('Julio'); $month['08'] = __('Agosto'); $month['09'] = __('Septiembre'); $month['10'] = __('Octubre'); $month['11'] = __('Noviembre'); $month['12'] = __('Diciembre'); // Abbreviations for each month. Uses the same hack as above to get around the // ‘May’ duplication. $month_abbrev[__('January')] = __('Jan_January_abbreviation'); $month_abbrev[__('February')] = __('Feb_February_abbreviation'); $month_abbrev[__('March')] = __('Mar_March_abbreviation'); $month_abbrev[__('April')] = __('Apr_April_abbreviation'); $month_abbrev[__('May')] = __('May_May_abbreviation'); $month_abbrev[__('June')] = __('Jun_June_abbreviation'); $month_abbrev[__('July')] = __('Jul_July_abbreviation'); $month_abbrev[__('August')] = __('Aug_August_abbreviation'); $month_abbrev[__('September')] = __('Sep_September_abbreviation'); $month_abbrev[__('October')] = __('Oct_October_abbreviation'); $month_abbrev[__('November')] = __('Nov_November_abbreviation'); $month_abbrev[__('December')] = __('Dec_December_abbreviation'); foreach ($month_abbrev as $month_ => $month_abbrev_) { $month_abbrev[$month_] = preg_replace('/_.+_abbreviation$/', '', $month_abbrev_); } ?>