Skip to content

Commit 13d48ca

Browse files
fix(serializer):include hours in VTT timestamp formatting
1 parent 8b31b18 commit 13d48ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • cds/modules/records/serializers

cds/modules/records/serializers/vtt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ def resize_link(frame, size):
102102
def time_format(seconds):
103103
"""Helper function to convert seconds to vtt time format."""
104104
d = datetime.utcfromtimestamp(seconds)
105-
s = d.strftime("%M:%S.%f")
105+
s = d.strftime("%H:%M:%S.%f")
106106
return s[:-3]

0 commit comments

Comments
 (0)