commit 22b5ecc72bdbf4ffd51a8e952bf8b2f6d630b8aa from: Caleb Stein date: Thu Aug 13 06:05:05 2026 UTC allow single digit values in stimer minute position commit - eb03a9b1339bc42dac20778c929cde8a14ba250e commit + 22b5ecc72bdbf4ffd51a8e952bf8b2f6d630b8aa blob - 9e0ccaa6cf6c83fbeccb1f36611428e4a80e8ed1 blob + 73e29d917511ef5ce885feccb3adfdd5cc28ad89 --- stimer.pl +++ stimer.pl @@ -10,7 +10,7 @@ if (! -p $timerpath) die "Could not find statbartimer file or not FIFO"; } -$time =~ /^(?:\d{2}:(\d{2})|(\d+))$/ or die "Bad timer format"; +$time =~ /^(?:\d{1,2}:(\d{2})|(\d+))$/ or die "Bad timer format"; if ($1 > 59 or $2 > 5999) { die "Bad timer format";