mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
204620b99d
commit
b7835f3721
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user