diff --git a/modules/archive.module b/modules/archive.module index 557e201ba6179f8529462ef2f386f60cbf9e35c4..0853bfdee08a39d280827005a5a8ed08a97ad292 100644 --- a/modules/archive.module +++ b/modules/archive.module @@ -97,12 +97,12 @@ function archive_calendar($original = 0) { $firstcolumn = mktime(0, 0, 0, 3, 20 + $weekstart, 1994); $output .= " <tr class=\"header-week\">\n"; - $days = array(t('Su') => t('Sunday'), t('Mo') => t('Monday'), t('Tu') => t('Tuesday'), t('We') => t('Wednesday'), t('Th') => t('Thursday'), t('Fr') => t('Friday'), t('Sa') => t('Saturday')); + $days = array(t('Sunday') => t('Su'), t('Monday') => t('Mo'), t('Tuesday') => t('Tu'), t('Wednesday') => t('We'), t('Thursday') => t('Th'), t('Friday') => t('Fr'), t('Saturday') => t('Sa')); if ($weekstart) { $days = array_merge(array_slice($days, $weekstart), array_slice($days, 0, $weekstart)); } - foreach ($days as $name => $fullname) { + foreach ($days as $fullname => $name) { $output .= ' <th abbr="'. $fullname .'">'. $name . "</th>\n"; } $output .= "</tr>\n"; diff --git a/modules/archive/archive.module b/modules/archive/archive.module index 557e201ba6179f8529462ef2f386f60cbf9e35c4..0853bfdee08a39d280827005a5a8ed08a97ad292 100644 --- a/modules/archive/archive.module +++ b/modules/archive/archive.module @@ -97,12 +97,12 @@ function archive_calendar($original = 0) { $firstcolumn = mktime(0, 0, 0, 3, 20 + $weekstart, 1994); $output .= " <tr class=\"header-week\">\n"; - $days = array(t('Su') => t('Sunday'), t('Mo') => t('Monday'), t('Tu') => t('Tuesday'), t('We') => t('Wednesday'), t('Th') => t('Thursday'), t('Fr') => t('Friday'), t('Sa') => t('Saturday')); + $days = array(t('Sunday') => t('Su'), t('Monday') => t('Mo'), t('Tuesday') => t('Tu'), t('Wednesday') => t('We'), t('Thursday') => t('Th'), t('Friday') => t('Fr'), t('Saturday') => t('Sa')); if ($weekstart) { $days = array_merge(array_slice($days, $weekstart), array_slice($days, 0, $weekstart)); } - foreach ($days as $name => $fullname) { + foreach ($days as $fullname => $name) { $output .= ' <th abbr="'. $fullname .'">'. $name . "</th>\n"; } $output .= "</tr>\n";