diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-09-12 17:18:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-09-12 17:18:36 +0000 |
commit | 2446f32c920c4f2e7629d18485f2c4e6c0cecef2 (patch) | |
tree | 88f027c9ed3d73f74213c735d49c5c7e9922c725 /modules/archive/archive.module | |
parent | d186dcc8c8ba9c6abb0e8db22e4259d17909b38b (diff) | |
download | brdo-2446f32c920c4f2e7629d18485f2c4e6c0cecef2.tar.gz brdo-2446f32c920c4f2e7629d18485f2c4e6c0cecef2.tar.bz2 |
- Renamed the 'first day of week' setting to be more consistent with the other date settings.
Diffstat (limited to 'modules/archive/archive.module')
-rw-r--r-- | modules/archive/archive.module | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= ' <caption>'. 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'))) : ' ') ."</caption>\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; |