right, so in the continuing series of messages on this I have now upgraded to 2.4.2 and am trying to get date and time drop downs working for en_GB local... this is what I currently have but it is not working... and by that I mean...
I've got the date picker working, BUT I had to change the site dateformat (and locale) to this... how do I edit the http://doc.silverstripe.org/datefield page to reflect this?
(as the dateformat suggested errors for me by not creating the day correctly (looks like day in Julian format).
The time picker though is not showing properly, it shows a bit of the scrollbar and nothing else! (see attached screen, note it shows scrolls for the form panel and then a bit on the right for the time field))
class TestAdmin extends ModelAdmin
static $managed_models = array(
static $url_segment = 'testadmin';
static $menu_title = 'TestAdmin';
class MyObject extends DataObject
static $db = array(
'Name' => 'Text',
'DateFrom' => 'Date',
'TimeFrom' => 'Time',
public static $summary_fields = array (
'Name' => 'Name',
public function scaffoldSearchFields()
$fields = parent::scaffoldSearchFields();
$df = new DateField('DateFrom','DateFrom');
$tf = new TimeField ('TimeFrom','TimeFrom');
$tf->setConfig('timeformat', 'h:m a');
Tested in firefox & safari