WordPress.org

Make WordPress Core

Changeset 14746


Ignore:
Timestamp:
05/19/2010 04:25:55 PM (8 years ago)
Author:
ryan
Message:

Show local time when a UTC offset is selected. Props ktdreyer. fixes #13408

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r14416 r14746  
    184184
    185185    <span id="utc-time"><?php printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is <code>%s</code>'), date_i18n($timezone_format, false, 'gmt')); ?></span>
    186 <?php if ( get_option('timezone_string') ) : ?>
     186<?php if ( get_option('timezone_string') || !empty($current_offset) ) : ?>
    187187    <span id="local-time"><?php printf(__('Local time is <code>%1$s</code>'), date_i18n($timezone_format)); ?></span>
    188188<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.