Replace Function roundToNearest15() with roundToNearest15Min()

This commit is contained in:
johnnyq
2026-07-14 17:55:59 -04:00
parent 21a23e79b0
commit 71f7299337
2 changed files with 2 additions and 2 deletions

View File

@@ -278,7 +278,7 @@ function roundUpToNearestMultiple($n, $increment = 1000)
return (int) ($increment * ceil($n / $increment));
}
function roundToNearest15($time)
function roundToNearest15Min($time)
{
// Validate the input time format
if (!preg_match('/^(\d{2}):(\d{2}):(\d{2})$/', $time, $matches)) {