mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-01 01:12:39 +00:00
confilcts resolved
This commit is contained in:
commit
66a3801597
2 changed files with 7 additions and 2 deletions
|
@ -143,9 +143,9 @@ const module = {
|
||||||
|
|
||||||
let returntext = new String();
|
let returntext = new String();
|
||||||
for (const i in levels) {
|
for (const i in levels) {
|
||||||
const num = levels[i].toString().length == 1 ? "0"+levels[i] : levels[i]; // If Number Is Single Digit, Add 0 In Front
|
const num = levels[i].toString().length == 1 ? "0" + levels[i] : levels[i]; // If Number Is Single Digit, Add 0 In Front
|
||||||
|
|
||||||
returntext += ":"+num;
|
returntext += ":" + num;
|
||||||
}
|
}
|
||||||
while (returntext.startsWith(":00")) { returntext = returntext.substring(3); } // Remove Prepending 0s (eg. 00:00:00:01:00)
|
while (returntext.startsWith(":00")) { returntext = returntext.substring(3); } // Remove Prepending 0s (eg. 00:00:00:01:00)
|
||||||
if (returntext.startsWith(":0")) { returntext = returntext.substring(2); } else { returntext = returntext.substring(1); } // Prevent Time Starting With 0 (eg. 01:00)
|
if (returntext.startsWith(":0")) { returntext = returntext.substring(2); } else { returntext = returntext.substring(1); } // Prevent Time Starting With 0 (eg. 01:00)
|
||||||
|
|
|
@ -76,3 +76,8 @@ Please read our website on how to do so: https://vuetube.app/contributing
|
||||||
|
|
||||||
- Emojis by the [Twemoji team](https://twemoji.twitter.com/), Licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
- Emojis by the [Twemoji team](https://twemoji.twitter.com/), Licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
||||||
- VueTube Logo by [@afnzmn](https://github.com/afnzmn)
|
- VueTube Logo by [@afnzmn](https://github.com/afnzmn)
|
||||||
|
|
||||||
|
## Disclamer
|
||||||
|
The VueTube project and its contents are not affiliated with, funded, authorized, endorsed by, or in any way accociated with YouTube, Google LLC or any of its affiliates and subsidaries. The official YouTube website can be found at [www.youtube.com](https://www.youtube.com).
|
||||||
|
|
||||||
|
Any trademark, service mark, trade name, or other intellectual property rights used in the VueTube project are owned by the respective owners.
|
||||||
|
|
Loading…
Reference in a new issue