Ejemplo n.º 1
0
function time_tag(moojon_base_model $model, moojon_base_column $column, $attributes = array())
{
    $attributes = try_set_name_and_id_attributes($attributes, $model, $column);
    $attributes['class'] = 'time';
    return datetime_label_select_options($attributes, moojon_config::get('time_format'), moojon_base::get_time($column->get_value()));
}