API CHANGE DropdownTimeField uses same timeformat as parent class TimeField: "g:ia" instead of "H:i a"

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79358 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-06-16 07:03:53 +00:00
parent 204620b99d
commit b7835f3721

View File

@ -6,10 +6,6 @@
*/
class DropdownTimeField extends TimeField {
function __construct( $name, $title = null, $value = "", $timeformat = 'H:i a' ){
parent::__construct( $name, $title, $value, $timeformat );
}
static function Requirements() {
Requirements::javascript( SAPPHIRE_DIR . '/javascript/DropdownTimeField.js' );
Requirements::css( SAPPHIRE_DIR . '/css/DropdownTimeField.css' );