WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #39667, comment 34


Ignore:
Timestamp:
09/10/2018 11:54:35 AM (2 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39667, comment 34

    v2 v3  
    66
    77- Removes the upper limit of {{{39:59:59}}} for the input duration.
    8 - Splits the regex into two separate cases: {{{HH:ii:ss}}} and {{{ii:ss}}}, to simplify it. This validation part: {{{(([0-3]?[0-9])|([2][0-3]))}}} was not obvious to me.
     8- Splits the regex into two separate cases: {{{HH:ii:ss}}} and {{{ii:ss}}}, to simplify it. This previous validation part: {{{(([0-3]?[0-9])|([2][0-3]))}}} was not obvious to me.
    99- Removes negative duration sign, like {{{'-32:49'}}}, as possibly prepended by {{{getid3_lib::PlaytimeString()}}}.
    1010- Adds trim to the input duration.