From fc97e88928e9569c5b09c6f704400e25195f693f Mon Sep 17 00:00:00 2001 From: torohill Date: Wed, 8 Jul 2020 05:17:15 +1200 Subject: [PATCH] Left pad scheduler times with zeros. (#2921) --- system/src/Grav/Common/Scheduler/Cron.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/Grav/Common/Scheduler/Cron.php b/system/src/Grav/Common/Scheduler/Cron.php index 3a42b29ea..1838b0769 100644 --- a/system/src/Grav/Common/Scheduler/Cron.php +++ b/system/src/Grav/Common/Scheduler/Cron.php @@ -69,7 +69,7 @@ class Cron 'name_year' => 'année', 'text_period' => 'Chaque %s', 'text_mins' => 'à %s minutes', - 'text_time' => 'à %s:%s', + 'text_time' => 'à %02s:%02s', 'text_dow' => 'le %s', 'text_month' => 'de %s', 'text_dom' => 'le %s', @@ -86,7 +86,7 @@ class Cron 'name_year' => 'year', 'text_period' => 'Every %s', 'text_mins' => 'at %s minutes past the hour', - 'text_time' => 'at %s:%s', + 'text_time' => 'at %02s:%02s', 'text_dow' => 'on %s', 'text_month' => 'of %s', 'text_dom' => 'on the %s',