$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[__('Miércoles') ] = __('Mie'); $weekday_abbrev[__('Jueves') ] = __('Jue'); $weekday_abbrev[__('Viernes') ] = __('Vie'); $weekday_abbrev[__('Sábado') ] = __('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[__('Enero') ] = __('Ene_January_abbreviation'); $month_abbrev[__('Febrero') ] = __('Feb_February_abbreviation'); $month_abbrev[__('Marzo') ] = __('Mar_March_abbreviation'); $month_abbrev[__('Abril') ] = __('Abr_April_abbreviation'); $month_abbrev[__('Mayo') ] = __('May_May_abbreviation'); $month_abbrev[__('Junio') ] = __('Jun_June_abbreviation'); $month_abbrev[__('Julio') ] = __('Jul_July_abbreviation'); $month_abbrev[__('Agosto') ] = __('Ago_August_abbreviation'); $month_abbrev[__('Septiembre')] = __('Sep_September_abbreviation'); $month_abbrev[__('Octubre') ] = __('Oct_October_abbreviation'); $month_abbrev[__('Noviembre') ] = __('Nov_November_abbreviation'); $month_abbrev[__('Diciembre') ] = __('Dic_December_abbreviation'); foreach ($month_abbrev as $month_ => $month_abbrev_) { $month_abbrev[$month_] = preg_replace('/_.+_abbreviation$/', '', $month_abbrev_); } ?>