mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-21 00:49:55 -04:00
fix ffmpeg time string for non-english locales
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user