From ace4421fb0cfc106fb09df4513e51157e9051f49 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Fri, 8 Sep 2017 15:12:13 -0700 Subject: [PATCH] Use timestamp after bothering to return it in 97baa5b --- includes/schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/schedule.php b/includes/schedule.php index 18df07a..91318bb 100644 --- a/includes/schedule.php +++ b/includes/schedule.php @@ -38,7 +38,7 @@ class CLI extends WP_CLI_Command { WP_CLI::error( $scheduled->get_error_message() ); } - WP_CLI::success( __( 'Command scheduled!', 'wp-cli-cron-control-offload' ) ); + WP_CLI::success( sprintf( __( 'Command scheduled for %1$s from now (%2$s)', 'wp-cli-cron-control-offload' ), human_time_diff( $scheduled ), date( 'Y-m-d H:i:s T', $scheduled ) ) ); } } -- GitLab