Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix duration on video thumbnails #1132

Merged
merged 2 commits into from
Aug 22, 2023
Merged

fix duration on video thumbnails #1132

merged 2 commits into from
Aug 22, 2023

Conversation

joschahenningsen
Copy link
Member

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
Copy link

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

Copy link
Collaborator

@MatthiasReumann MatthiasReumann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks! 🚀

@joschahenningsen joschahenningsen merged commit acc65f8 into dev Aug 22, 2023
8 checks passed
@joschahenningsen joschahenningsen deleted the fix/duration-display branch August 22, 2023 18:50
SebiWrn pushed a commit that referenced this pull request May 7, 2024
* fix duration on video thumbnails

* remove unneccessary imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants