Debes sacar la fecha fuera, si no la vuelves a crear con 01:00:
Código PHP:
Ver originalfunction agregar(DateTime $time, $cant = 4) {
for ($i = 0; $i < $cant; $i++) $horas[$i] = $time->modify('+15 minutes')->format('h:i:s');
return $horas;
}
$response = agregar(new DateTime("01:00"));
echo json_encode($response, JSON_UNESCAPED_SLASHES
| JSON_UNESCAPED_UNICODE
);