// 0 index is the state at current time, 1 index is the next transition, if any.
if ( !
empty( $transitions[1
] ) ) { echo ' ';
$message =
$transitions[1
]['isdst'
] ?
/* translators: %s: Date and time. */
__( 'Daylight saving time begins on: %s.'
) :
/* translators: %s: Date and time. */
__( 'Standard time begins on: %s.'
);
printf( $message,
'<code>' .
wp_date( __( 'F j, Y'
) . ' ' .
__( 'g:i a'
),
$transitions[1
]['ts'
] ) . '</code>'
);
} else { _e( 'This timezone does not observe daylight saving time.'
);
} } ?>
</span>
</p>
<?php
endif; ?>
</td>
</tr>
<tr>
<th scope="row">