mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:03:26 +00:00
add episode download section
This commit is contained in:
@@ -16,3 +16,10 @@ export const mapMillisecondsToTime = (milliseconds: number): string => {
|
||||
|
||||
return formattedTime;
|
||||
};
|
||||
|
||||
export const mapSeasonAndEpisodeNumberToText = (
|
||||
season: number,
|
||||
episode: number,
|
||||
) => {
|
||||
return `S${season.toString().padStart(2, "0")}E${episode.toString().padStart(2, "0")}`;
|
||||
};
|
||||
|
Reference in New Issue
Block a user