mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 17:00:40 +00:00
Replace Function roundToNearest15() with roundToNearest15Min()
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user