時間フィールドを設定しているフィールドはこんな感じ
$('#stime').w2field('time', { format: 'h24'})
秒も欲しいのですが、フィールド形式を変更するにはどうすればよいですか?
時間フィールドが秒をサポートしているとは思わない。私はそれに関する2つの記事を見つけました(こことここ)、数秒のオプションはありません:
$('input[type=eu-time]').w2field('time', { format: 'h24' });
$('input[type=eu-timeA]').w2field('time', { format: 'h24', start: '8:00 am', end: '4:30 pm' });});
options = {
format : 'hh:mi pm',
placeholder : '',
keyboard : true,
silent : true,
start : '',
end : ''
};