CodeExplorer minutes example
$title =
t('Year'
);
break;
case 'hour':
$format =
in_array('ampm',
$element['#date_part_order'
]) ? 'g' : 'G';
$options =
$date_helper->
hours($format,
$element['#required'
]);
$title =
t('Hour'
);
break;
case 'minute':
$format = 'i';
$options =
$date_helper->
minutes($format,
$element['#required'
],
$element['#date_increment'
]);
$title =
t('Minute'
);
break;
case 'second':
$format = 's';
$options =
$date_helper->
seconds($format,
$element['#required'
],
$element['#date_increment'
]);
$title =
t('Second'
);
break;
case 'ampm':
$format = 'a';