Skip to content
Snippets Groups Projects
Commit 3b6722a4 authored by Bastien Luneteau's avatar Bastien Luneteau Committed by Yassine Doghri
Browse files

fix: escape characters for `min` in format_duration_symbol

parent 5e5e9b2b
No related branches found
No related tags found
No related merge requests found
...@@ -183,9 +183,9 @@ if (! function_exists('format_duration_symbol')) { ...@@ -183,9 +183,9 @@ if (! function_exists('format_duration_symbol')) {
} }
if ($seconds < 36000) { if ($seconds < 36000) {
// < 10 hours: returns H:MM:SS // < 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);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment