From cfde427c1186a18f433e9115f49ff5bf242187b0 Mon Sep 17 00:00:00 2001 From: Ruben Barkow-Kuder Date: Tue, 4 Oct 2022 15:33:19 +0200 Subject: [PATCH] computerFileSize(): allow comma as decimal-point Signed-off-by: Ruben Barkow-Kuder --- core/src/OC/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/OC/util.js b/core/src/OC/util.js index e1a2f8f0687cf..93b2b954072b9 100644 --- a/core/src/OC/util.js +++ b/core/src/OC/util.js @@ -83,7 +83,7 @@ export default { return null } - const s = string.toLowerCase().trim() + const s = string.toLowerCase().replaceAll(',', '.').trim() let bytes = null const bytesArray = {