use colon instead of dot for hour/minute separation
This commit is contained in:
parent
d75b790ccf
commit
6700d76528
@ -227,7 +227,7 @@ class SCLiveticker {
|
|||||||
|
|
||||||
while ( $wp_query->have_posts() ) {
|
while ( $wp_query->have_posts() ) {
|
||||||
$wp_query->the_post();
|
$wp_query->the_post();
|
||||||
$output .= self::tick_html( get_the_time( 'd.m.Y H.i' ), get_the_title(), get_the_content() );
|
$output .= self::tick_html( get_the_time( 'd.m.Y H:i' ), get_the_title(), get_the_content() );
|
||||||
}
|
}
|
||||||
|
|
||||||
$output .= '</ul></div>';
|
$output .= '</ul></div>';
|
||||||
@ -353,9 +353,9 @@ class SCLiveticker {
|
|||||||
while ( $query->have_posts() ) {
|
while ( $query->have_posts() ) {
|
||||||
$query->the_post();
|
$query->the_post();
|
||||||
if ( $is_widget ) {
|
if ( $is_widget ) {
|
||||||
$out .= self::tick_html_widget( get_the_time( 'd.m.Y H.i' ), get_the_title(), false );
|
$out .= self::tick_html_widget( get_the_time( 'd.m.Y H:i' ), get_the_title(), false );
|
||||||
} else {
|
} else {
|
||||||
$out .= self::tick_html( get_the_time( 'd.m.Y H.i' ), get_the_title(), get_the_content(), $is_widget );
|
$out .= self::tick_html( get_the_time( 'd.m.Y H:i' ), get_the_title(), get_the_content(), $is_widget );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ class Widget extends WP_Widget {
|
|||||||
$wp_query->the_post();
|
$wp_query->the_post();
|
||||||
// @codingStandardsIgnoreLine
|
// @codingStandardsIgnoreLine
|
||||||
echo SCLiveticker::tick_html_widget(
|
echo SCLiveticker::tick_html_widget(
|
||||||
esc_html( get_the_time( 'd.m.Y - H.i' ) ),
|
esc_html( get_the_time( 'd.m.Y - H:i' ) ),
|
||||||
get_the_title(),
|
get_the_title(),
|
||||||
( '1' === $highlight && get_the_time( 'U' ) > ( time() - $highlight_time ) )
|
( '1' === $highlight && get_the_time( 'U' ) > ( time() - $highlight_time ) )
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user