[Validator] Fixed time constraint (support formats H, H:i and H:i:s)

Time constraint should support values with hours only, hours with minutes and hours with minutes and seconds

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -
my own comment is not fixed though