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

Show half hour on certificates for courses under 30 minutes #58499

Merged
merged 1 commit into from
May 9, 2024

Conversation

TurnerRiley
Copy link
Contributor

We received this Zendesk ticket where a user was seeing "0 minutes" on their certificate for "Teaching CSD Module 1" (a 10-minute intro module). The issue was that the time rounds to the nearest 30 minutes so this rounded down to 0 minutes. This PR fixes this by having any courses that are rounded to "0 minutes" show "30 minutes" instead.

Without fix

old

With fix

new

Links

Zendesk ticket: here

Testing story

Local testing.

@TurnerRiley TurnerRiley requested a review from a team May 9, 2024 17:52
@TurnerRiley TurnerRiley merged commit 2439549 into staging May 9, 2024
2 checks passed
@TurnerRiley TurnerRiley deleted the show-half-hour-for-0-hour-certificate branch May 9, 2024 20:36
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