- adding comment and rewriting function description

This commit is contained in:
james 2011-06-27 17:34:17 -04:00
parent ef7fe86af7
commit c7f5a8689c
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Playlist {
- *
- * @param float $seconds
- * @return string
- * time in playlist time format (HH:mm:ss.dddddd)
- * time in playlist time format (HH:mm:ss.d)
- */
public static function secondsToPlaylistTime($p_seconds)
{
@ -422,6 +422,7 @@ class Playlist {
if(is_null($res))
return '00:00:00';
// calling two functions to format time to 1 decimal place
$sec = Playlist::playlistTimeToSeconds($res);
$res = Playlist::secondsToPlaylistTime($sec);
return $res;