From e1d58bccea496e5ecb43232a81195aa0de2f23f5 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Apr 2022 10:51:18 +0000 Subject: [PATCH] Bug 30540: Fix perl critic complaint of leading zeros Signed-off-by: Nick Clemens --- t/DateUtils.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/DateUtils.t b/t/DateUtils.t index ae39782321..27bea28d28 100755 --- a/t/DateUtils.t +++ b/t/DateUtils.t @@ -265,9 +265,9 @@ isa_ok( $dt, 'DateTime', 'dt_from_string should return a DateTime object if a DS # Test output_pref for invalid local time explosion $dt = DateTime->new( year => 2017, - month => 03, + month => 3, day => 26, - hour => 01, + hour => 1, minute => 35, ); $module_context->mock( -- 2.30.2