Compare commits

..

No commits in common. "b5fa9bf5a6bbf98d9a0a5e1a79cad824e4b24efd" and "bd090b6e26804b7a71f82c4b64e664143b34300a" have entirely different histories.

View file

@ -485,7 +485,7 @@ function ApiCache() {
} }
if (typeof duration === "string") { if (typeof duration === "string") {
let split = duration.match(/^([\d\.,]+)\s?([a-zA-Z]+)$/); let split = duration.match(/^([\d\.,]+)\s?(\w+)$/);
if (split.length === 3) { if (split.length === 3) {
let len = parseFloat(split[1]); let len = parseFloat(split[1]);