TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
183 stars 42 forks source link

fix duration on video thumbnails #1132

Closed joschahenningsen closed 1 year ago

joschahenningsen commented 1 year ago

Motivation and Context

The current duration in only approximated based on the planned times of the lectures. Instead, we should use the duration stored in the database to accurately display the video duration. Additionally, the current frontend renders the time based on the locale of the browser, which leads to weird behavior like 03:00:00 AM (see screenshot)

Screenshots

Before

image

After

image

github-actions[bot] commented 1 year ago

Your Testserver will be ready at https://1132.test.live.mm.rbg.tum.de in a few minutes.

Logins | Kurs1 | Kurs2 | Kurs3 | Kurs4 | | ---------------------------------------- | ------------------------- | ------------------------- | ------------------------- | | public | public | loggedin | enrolled | | prof1 | prof1 | prof2 | prof1
prof2 | | student1
student2
student3 | student1
student2 | student2
student3 | student1
student2 |