Merge branch 'master' into feat-remove-multiple-monitors-at-once

This commit is contained in:
GJS 2025-01-22 19:30:59 +01:00 committed by GitHub
commit 0ed0285825
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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