|
UTC time is %s '), date_i18n( $time_format, false, 'gmt')); ?>
%2$s'), $current_offset_name, date_i18n($time_format)); ?>
|
= 0) ? '+' : '') . $offnum;
}
?>
|
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 .');
$tz = new DateTimeZone($tzstring);
$d = new DateTime( "@{$tr['ts']}" );
$d->setTimezone($tz);
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.');
}
}
?>
|