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:39:12 +0100 |
commit | d1bf0feed4db67adacbec1148d1ac15b9e1a68c2 (patch) | |
tree | ffaef8acc540530ba69a97154d60c4b9fea5cd6e | |
parent | 6ca090b341d0ea9f263b133a9c7f76a01a61844f (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 486e679c9..087b23610 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -220,7 +220,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')); |