From 2446f32c920c4f2e7629d18485f2c4e6c0cecef2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 12 Sep 2004 17:18:36 +0000 Subject: - Renamed the 'first day of week' setting to be more consistent with the other date settings. --- modules/archive/archive.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/archive') diff --git a/modules/archive/archive.module b/modules/archive/archive.module index b9347202b..2e6a78654 100644 --- a/modules/archive/archive.module +++ b/modules/archive/archive.module @@ -91,7 +91,7 @@ function archive_calendar($original = 0) { $output .= ' '. l('«', 'archive/'. date('Y/m/d', $prev), array('title' => t('Previous month'))) .' '. format_date($requested, 'custom', 'F') . date(' Y', $requested) .' '. ($nextmonth <= time() ? l('»', 'archive/'. date('Y/m/d', $next), array('title' => t('Next month'))) : ' ') ."\n"; // First day of week (0 => Sunday, 1 => Monday, ...) - $weekstart = variable_get('default_firstday', 0); + $weekstart = variable_get('date_first_day', 0); // Last day of week ($weekstart - 1 == -1) ? $lastday = 6 : $lastday = $weekstart - 1; -- cgit v1.2.3