fix: escape characters for `min` in format_duration_symbol

This commit is contained in:
Bastien Luneteau 2022-02-22 15:43:27 +00:00 committed by Yassine Doghri
parent 5e5e9b2b3f
commit 3b6722a42b
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}