Skip to content

Commit 44070a9

Browse files
committed
Update milliseconds formatting in README and add two new examples
1 parent eb19997 commit 44070a9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,16 @@ simple example.
3434

3535
* `component:String|Function` - Element to render the timecode within. (Default: `span`)
3636
* `format:String` - Specifies the format to display the timecode. (Default: `H:?m:ss`)
37-
* `HH:mm:ss.sss` - (Example: 00:01:23.876)
38-
* `H:mm:ss.sss` - (Example: 0:01:23.876)
39-
* `H:?mm:ss.sss` - (Example: 01:23.876)
40-
* `H:?m:ss.sss` - (Example: 1:23.876)
37+
* `HH:mm:ss.SSS` - (Example: 00:01:23.876)
38+
* `H:mm:ss.SSS` - (Example: 0:01:23.876)
39+
* `H:?mm:ss.SSS` - (Example: 01:23.876)
40+
* `H:?m:ss.SSS` - (Example: 1:23.876)
4141
* `HH:mm:ss` - (Example: 00:01:23)
4242
* `H:mm:ss` - (Example: 0:01:23)
4343
* `H:?mm:ss` - (Example: 01:23)
4444
* `H:mm` - (Example: 0:01)
45+
* `s.SSS` - (Example: 0.000)
46+
* `s.SS` - (Example: 0.00)
4547
* `H:?m:ss` - (Example: 1:23 - _Default_)
4648
* `postfix:String` - Append a string after the formatted timecode.
4749
* `prefix:String` - Include a string before the formatted timecode.

0 commit comments

Comments
 (0)