diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-12-27 14:39:12 +0100 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-12-27 14:42:08 +0100 |
commit | be363cdf92471d0d721db35570bf3d184c4ec387 (patch) | |
tree | 54d7685526629622e65b3b3988b47be35b926410 | |
parent | acbf70d5bdbfa17920a82f9ed64e425a9069356f (diff) |
Use current year for timezone offset display
-rw-r--r-- | program/steps/settings/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 82ca5df93..714165fa0 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -219,7 +219,7 @@ function rcmail_user_prefs($current = null) foreach (DateTimeZone::listIdentifiers() as $i => $tzs) { try { $tz = new DateTimeZone($tzs); - $date = new DateTime('2012-12-21', $tz); + $date = new DateTime(date('Y') . '-12-21', $tz); $offset = $date->format('Z') + 45000; $sortkey = sprintf('%06d.%s', $offset, $tzs); $zones[$sortkey] = array($tzs, $date->format('P')); |