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

Match MS Teams timestamp format #43

Conversation

nathan-gilbert
Copy link

Hi,

Microsoft Teams produces a timestamp format that appears to meet the WebVtt standard but the currently existing regular expression does not match against it.

The Team's timestamp format: 0:0:13.540 --> 0:0:17.850

This PR attempts to expand the regular expression to match this case.

@nathan-gilbert
Copy link
Author

Actually, it is Teams that is out of spec. I'm closing this as it's really a Team's problem.

@apetresc
Copy link

apetresc commented Nov 7, 2022

This should be resolved in #45. I disagree that we shouldn't fix it just because it's a Teams problem. If we're being pragmatic, Microsoft will never fix this and being compatible on our end costs us nothing in terms of accuracy or performance.

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