Skip to content

Match MS Teams timestamp format#43

Closed
nathan-gilbert wants to merge 2 commits intoglut23:masterfrom
nathan-gilbert:match-teams-timestamp-format
Closed

Match MS Teams timestamp format#43
nathan-gilbert wants to merge 2 commits intoglut23:masterfrom
nathan-gilbert:match-teams-timestamp-format

Conversation

@nathan-gilbert
Copy link
Copy Markdown

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

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