X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..672d6bc6da735e745275ef7a86341dc1178da8d2:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 680f7ae9..def21249 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -1,62 +1,109 @@ + +
-

+ +

+
- + + - - + + - - + + - - + + - - + + - - + + - + + - - + - + + += 0) ? '+' : '') . $offnum; } ?> + + + + - + - + - + +
-
-
+
" />" />
" />
to be different from the directory you installed WordPress.'); ?>
" /> +to be different from the directory you installed WordPress.'); ?>
-
-
+

- -
+ +
- " . sprintf(__('UTC %s'), $offset_name) . ''; + echo "'; +} +?> + + +UTC time is %s'), date_i18n( $time_format, false, 'gmt')); ?> + + %2$s'), $current_offset_name, date_i18n($time_format)); ?> + +
+ +
+ + -
-UTC time is %s'), gmdate(__('Y-m-d G:i:s'))); ?>
-%2$s'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?>
- + + UTC time is %s'), date_i18n($timezone_format, false, 'gmt')); ?> + + %1$s'), date_i18n($timezone_format)); ?> + +
+ +
+ + + +
+ time()) { + $found = true; + break; + } + } + + if ( isset($found) && $found === true ) { + echo ' '; + $message = $tr['isdst'] ? + __('Daylight savings time begins on: %s.') : + __('Standard time begins on: %s.'); + printf( $message, date_i18n(get_option('date_format').' '.get_option('time_format'), $tr['ts'] ) ); + } else { + _e('This timezone does not observe daylight savings time.'); + } + } + ?> +
+

-
+
+ ' . date_i18n( $format ) . "
\n"; + } + + echo ' ' . date_i18n( get_option('date_format') ) . "\n"; + + echo "\t

" . __('Documentation on date formatting. Click “Save Changes” to update sample output.') . "

\n"; +?> +
+

-
-Documentation on date formatting. Click "Save Changes" to update sample output.') ?>
+
+ ' . date_i18n( $format ) . "
\n"; + } + + echo ' ' . date_i18n( get_option('time_format') ) . "\n"; +?> +
+
-

- - + + +

+