#6300: A difference between FormHelper::hour and FormHelper::minute
--------------------------+-------------------------------------------------
Reporter: miau | Type: Enhancement
Status: new | Priority: Low
Milestone: 1.2.x.x | Component: Helpers
Version: 1.2 Final | Severity: Trivial
Keywords: | Php_version: n/a
Cake_version: |
--------------------------+-------------------------------------------------
Formats of value attributes are different between the output of
FormHelper::hour and the output of FormHelper::minute.
FormHelper::hour outputs:
{{{
<option value="00">0</option>
<option value="01">1</option>
<option value="02">2</option>
<option value="03">3</option>
:
}}}
FormHelpr::minute outputs:
{{{
<option value="0">00</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
:
}}}
This behavier seems to be derived from first implementatoin at [594], and
was transported to FormHelper at [4119]. Is there any intension to make
such a difference?
It would be better if they outputs HTMLs in the same format.
--
Ticket URL: <https://trac.cakephp.org/ticket/6300>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---