Compare commits

..

1 commit

Author SHA1 Message Date
Gero Gerke
9aacb7a577
Merge 5026f45871 into 223cde831f 2025-01-18 15:35:51 +00:00

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]);