rilwis/meta-box — pull request #161 by helgatheviking (2012-10-03 13:09:46+00:00)
Title: Customize javascript options for date picker

attempt to pass custom JS options to datepicker per issue #160

custom options would be defined like so:

```
'fields' => array(
// START TTIME
array(
'name' => 'Start Time',
'id' => "{$prefix}start_time",
'type' => 'datetime',
// Time format, default yy-mm-dd hh:mm. Optional. @link See: http://goo.gl/hXHWz
'format' => 'h:mm tt',
'description' => 'Format M d, YYYY HH:MM',
'js' => array ( 'dateFormat' => 'M d, yy',
'stepMinute' => 5 )
),
```

This is working with the jquery ui date picker using their [option method](http://jqueryui.com/demos/datepicker/#methods). However, I can't figure out how to do the same thing with the datetime addon-specific options... so datetime picker specific options like `stepMinute` don't do anything yet.