fix ffmpeg time string for non-english locales

This commit is contained in:
Stefan Wurzinger
2020-10-04 16:13:34 +02:00
parent d55ae1f05a
commit b2d7472f38

View File

@@ -268,7 +268,7 @@ class movie_Core {
* features (the last argument of mkdate above, which disables DST, is deprecated as of PHP 5.3).
*/
static function seconds_to_hhmmssdd($seconds) {
return sprintf("%02d:%02d:%05.2f", floor($seconds / 3600), floor(($seconds % 3600) / 60),
return sprintf("%02d:%02d:%05.2F", floor($seconds / 3600), floor(($seconds % 3600) / 60),
floor(100 * $seconds % 6000) / 100);
}