CC-3716: cannot create show start before 10:00
-fixed
This commit is contained in:
parent
34b8e5b279
commit
a291f42112
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
|
|||
->setValidators(array(
|
||||
'NotEmpty',
|
||||
array('date', false, array('HH:mm')),
|
||||
array('regex', false, array('/^[0-2][0-3]:[0-5][0-9]$/', 'messages' => 'Time format should be HH:mm'))
|
||||
array('regex', false, array('/^[0-2]?[0-9]:[0-5][0-9]$/', 'messages' => 'Time format should be HH:mm'))
|
||||
))->setDecorators(array('ViewHelper'));
|
||||
$startTime->setAttrib('alt', 'time');
|
||||
$this->addElement($startTime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue