]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/core-utils.ts
Group videos on chronological order
[github/Chocobozzz/PeerTube.git] / server / helpers / core-utils.ts
index f6d90bfca3321e6aa67cb39ddd49565834c925ea..305d3b71e0143e5d79736b4c6fafac80f700301b 100644 (file)
@@ -40,7 +40,7 @@ const timeTable = {
   month:        3600000 * 24 * 30
 }
 
-export function parseDuration (duration: number | string): number {
+export function parseDurationToMs (duration: number | string): number {
   if (typeof duration === 'number') return duration
 
   if (typeof duration === 'string') {