Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc |
— | — | @@ -325,7 +325,7 @@ |
326 | 326 | } elseif ($semantic_field_type == $bool_type) { |
327 | 327 | return array('checkbox'); |
328 | 328 | } elseif ($semantic_field_type == $date_type) { |
329 | | - return array('date', 'datetime', 'datetime with timezone'); |
| 329 | + return array('date', 'datetime', 'datetime with timezone', 'year'); |
330 | 330 | } elseif ($semantic_field_type == $enum_type) { |
331 | 331 | if ($is_list) { |
332 | 332 | return array('checkboxes', 'listbox'); |