diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
index 12b6d1909b..fceac86ba5 100644
--- a/wp-admin/options-general.php
+++ b/wp-admin/options-general.php
@@ -121,7 +121,7 @@ foreach ( $offset_range as $offset ) {
UTC time is %s'), date_i18n(__('Y-m-d G:i:s'), false, 'gmt')); ?>
- %2$s'), $current_offset_name, date_i18n(__('Y-m-d G:i:s'))); ?>
+ %2$s'), $current_offset_name, date_i18n(__('Y-m-d G:i:s'), current_time('timestamp'), 'gmt')); ?>
@@ -148,12 +148,12 @@ foreach ( $offset_range as $offset ) {
echo " checked='checked'";
$custom = FALSE;
}
- echo ' /> ' . date_i18n( $format ) . "
\n";
+ echo ' /> ' . date_i18n( $format, current_time('timestamp'), 'gmt' ) . "
\n";
}
echo ' ' . date_i18n( get_option('date_format') ) . "\n";
+ echo '/> ' . __('Custom:') . ' ' . date_i18n( get_option('date_format'), current_time('timestamp'), 'gmt' ) . "\n";
echo "\t
" . __('Documentation on date formatting. Click "Save Changes" to update sample output.') . "
\n"; ?> @@ -180,12 +180,12 @@ foreach ( $offset_range as $offset ) { echo " checked='checked'"; $custom = FALSE; } - echo ' /> ' . date_i18n( $format ) . "