You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
On line 90, when formatting the session length, the code uses the format "{0:N0}" which works fine for that example because the session length is 15 minutes (or 900 seconds). As soon as you get above a 999 second session length, however, that format adds commas to the result (ie 1,000), which breaks the embed. A better format would be "{0:D}" which would not add the commas.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On line 90, when formatting the session length, the code uses the format "{0:N0}" which works fine for that example because the session length is 15 minutes (or 900 seconds). As soon as you get above a 999 second session length, however, that format adds commas to the result (ie 1,000), which breaks the embed. A better format would be "{0:D}" which would not add the commas.
The text was updated successfully, but these errors were encountered: