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 time stamps formatting #2

Merged
merged 3 commits into from
Nov 10, 2024

Conversation

CertifiedPyro
Copy link
Contributor

Problem

Currently, when it's between midnight and 1AM, timestamps show as [:03:05] instead of [0:03:05].

Solution

Use String.trim_prefix() to trim at most 1 zero from the timestamp.

Testing

I haven't been able to test it, so you'll have to build it, but I'm fairly confident this should work.

@CertifiedPyro CertifiedPyro changed the title Fix/time stamps Fix time stamps formatting Nov 10, 2024
@danielah05
Copy link
Owner

ill take a look at this in a bit, thanks

@danielah05
Copy link
Owner

took a look, seems all good from what ive tested, ill merge this and get a new update out in a moment, thanks so much for the fix! apologies on my end for this oversight

@danielah05 danielah05 merged commit b867ed6 into danielah05:main Nov 10, 2024
@CertifiedPyro CertifiedPyro deleted the fix/time-stamps branch November 10, 2024 23:48
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