fix: Use a broader pattern for timestamps

ffmpeg accepts HOURS:MM:SS.MILLISECONDS
This commit is contained in:
Pierre Rudloff 2018-09-11 17:04:16 +02:00
parent 83a8218661
commit 05812e4b0e

View file

@ -25,8 +25,8 @@
{t}Audio only (MP3){/t}
</label>
<div class="seekOptions">
{t}From{/t} <input type="text" pattern="(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}" placeholder="HH:MM:SS" value="" name="from"/>
{t}to{/t} <input type="text" pattern="(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}" placeholder="HH:MM:SS" value="" name="to"/>
{t}From{/t} <input type="text" pattern="(\d+:)?(\d+:)?\d+(\.\d+)?" placeholder="HH:MM:SS" value="" name="from"/>
{t}to{/t} <input type="text" pattern="(\d+:)?(\d+:)?\d+(\.\d+)?" placeholder="HH:MM:SS" value="" name="to"/>
</div>
</div>
</div>