Skip to content

Zero-pad hours to two digits when they exist but are less than ten#49

Open
davemevans wants to merge 1 commit intow3c:mainfrom
davemevans:ZeroPadHours
Open

Zero-pad hours to two digits when they exist but are less than ten#49
davemevans wants to merge 1 commit intow3c:mainfrom
davemevans:ZeroPadHours

Conversation

@davemevans
Copy link
Copy Markdown
Contributor

https://www.w3.org/TR/webvtt1/#webvtt-timestamp states that hours should be at least two digits when present.

Ensure the serialiser zero-pads the hours when less than 10.

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.

1 participant