From 3b6722a42b9e4330e5235d4ceed41c777159f4dc Mon Sep 17 00:00:00 2001
From: Bastien Luneteau <azerty774@gmail.com>
Date: Tue, 22 Feb 2022 15:43:27 +0000
Subject: [PATCH] fix: escape characters for `min` in format_duration_symbol

---
 app/Helpers/misc_helper.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/Helpers/misc_helper.php b/app/Helpers/misc_helper.php
index 813102abb7..727d53b631 100644
--- a/app/Helpers/misc_helper.php
+++ b/app/Helpers/misc_helper.php
@@ -183,9 +183,9 @@ if (! function_exists('format_duration_symbol')) {
         }
         if ($seconds < 36000) {
             // < 10 hours: returns H:MM:SS
-            return ltrim(gmdate('h\h i\min s\s', $seconds), '0');
+            return ltrim(gmdate('h\h i\m\i\n s\s', $seconds), '0');
         }
-        return gmdate('h\h i\min s\s', $seconds);
+        return gmdate('h\h i\m\i\n s\s', $seconds);
     }
 }
 
-- 
GitLab