From a259415cf5545b1f2c3b21a27d521ca7bfe1c5ff Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 6 Apr 2009 16:16:39 +0000 Subject: [PATCH] Improve timezone wording. Props nbachiyski. see #3962 git-svn-id: http://svn.automattic.com/wordpress/trunk@10878 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-general.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index af697e216..2a900c0d9 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -151,8 +151,13 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists UTC time is %s'), date_i18n($timezone_format, false, 'gmt')); ?> - %2$s'), $current_offset_name, date_i18n($timezone_format)); ?> -
+ %1$s'), date_i18n($timezone_format)); ?> + +
+ +
+ + %s.') : + __('Standard time begins on: %s.'); $tz = new DateTimeZone($tzstring); $d = new DateTime( "@{$tr['ts']}" ); $d->setTimezone($tz); - printf( $message, /* translators: next daylight savings change time format, see http://php.net/date */ date_i18n(_x('Y-m-d G:i:s T', 'next daylight savings change time format'), $d->format('U') ) ); + printf( $message, date_i18n(get_option('date_format').' '.get_option('time_format'), $d->format('U') ) ); } else { _e('This timezone does not observe daylight savings time.'); } @@ -185,8 +190,6 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists ?> -
-