Skip to content

Commit

Permalink
Bugfix 26785 change duration format (#25)
Browse files Browse the repository at this point in the history
* TTK-26785: Change duration format

* Fix erros- phpcsfixer

* [PHPCsFixer] Fix bundle class
  • Loading branch information
albacodina authored Feb 2, 2024
1 parent 704ef22 commit 76c0504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion PumukitOpencastBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

class PumukitOpencastBundle extends Bundle {}
class PumukitOpencastBundle extends Bundle
{
}
2 changes: 1 addition & 1 deletion Resources/views/MediaPackage/list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{{ mediaPackage.seriestitle|default("") }}
</td>
<td headers="th-duration">
{{ (((mediaPackage.duration)//1000)-3600)|date('Y/m/d') }}
{{ (((mediaPackage.duration)//1000)-3600)|date('H:i:s') }}
</td>
<td headers="th-date">
{{ mediaPackage.start|date('Y/m/d') }}
Expand Down

0 comments on commit 76c0504

Please sign in to comment.