mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-11 18:56:18 +09:00
Changed activities list to use moving_time
This commit is contained in:
@@ -120,6 +120,10 @@ On the WP-Strava settings page you cannot currently remove and add another athle
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.9.0 =
|
||||
Switched Activities List to display moving time instead of elapsed time https://wordpress.org/support/topic/moving-time-instead-of-elapsed-time/
|
||||
|
||||
|
||||
|
||||
= 2.8.0 =
|
||||
Revised `block.json` based on feedback from https://wordpress.org/plugins/developers/block-plugin-validator/
|
||||
|
||||
@@ -74,7 +74,7 @@ class WPStrava_ActivitiesListRenderer {
|
||||
// Translators: "went 10 miles"
|
||||
$response .= sprintf( __( ' went %1$s %2$s', 'wp-strava' ), $som->distance( $activity->distance ), $som->get_distance_label() );
|
||||
// Translators: "during 2 hours"
|
||||
$response .= sprintf( __( ' during %1$s %2$s', 'wp-strava' ), $som->time( $activity->elapsed_time ), $som->get_time_label() );
|
||||
$response .= sprintf( __( ' during %1$s %2$s', 'wp-strava' ), $som->time( $activity->moving_time ), $som->get_time_label() );
|
||||
|
||||
if ( ! WPStrava::get_instance()->settings->hide_elevation ) {
|
||||
// Translators: "climbing 100 ft."
|
||||
|
||||
Reference in New Issue
Block a user