diff options
Diffstat (limited to 'backend/PlayAudio.js')
| -rw-r--r-- | backend/PlayAudio.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/PlayAudio.js b/backend/PlayAudio.js index d698798..fea4b3d 100644 --- a/backend/PlayAudio.js +++ b/backend/PlayAudio.js @@ -62,7 +62,7 @@ export async function playAudio(bot) { } else { metadataEmpty = true; } - duration = new Date(format.duration * 1000).toISOString().substr(11, 8); + duration = new Date(format.duration * 1000).toISOString().slice(11, 19); } catch (e) { console.error(e); } |
