mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
removed comment
This commit is contained in:
parent
64c2129b1d
commit
6c8502d8fe
1 changed files with 0 additions and 1 deletions
|
|
@ -98,7 +98,6 @@ const MetadataDetails: React.FC<MetadataDetailsProps> = ({
|
|||
}));
|
||||
|
||||
function formatRuntime(runtime: string): string {
|
||||
// Match formats like "1h55min" or "2h 7min" and convert to "1H 55M" or "2H 7M"
|
||||
// Try to match formats like "1h55min", "2h 7min", "125 min", etc.
|
||||
const match = runtime.match(/(?:(\d+)\s*h\s*)?(\d+)\s*min/i);
|
||||
if (match) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue