Why are you using the date interval? You can just use format. But because the PTHM chars are also valid codes, you must escape them.
<?php
$date = new DateTime('01:25');
echo $date->format('\P\TG\Hi\M');
//output: PT1H25M
?>
See date for valid codes and DateTime::format for how to use them