]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Fixed elpased time format in bweb.inc.php
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 17 Dec 2010 16:57:58 +0000 (17:57 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:33 +0000 (14:43 +0200)
gui/bacula-web/bweb.inc.php

index d0211024b212d610d807a10b4d07be70b711515c..e85efe96bac207051ab50650108619d56d35a2cb 100644 (file)
@@ -480,9 +480,9 @@ class Bweb extends DB {
                                }
                                // Verify if elapsed time is more than 1 day
                                if ( $total_elapsed > 86400 ) {
-                                       return gmstrftime("%d days %H:%M:%S", $total_elapsed );
+                                       return date("%d days H:i:s", $total_elapsed );
                                }else {
-                                       return gmstrftime("%H:%M:%S", $total_elapsed );
+                                       return date("H:i:s", $total_elapsed );
                                }
                        }
                }