Explorar o código

Changed date field type to 'datetime'

Chun-Huai Cheng %!s(int64=9) %!d(string=hai) anos
pai
achega
c2fe342c4c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tripal_entities/includes/tripal_entities.admin.inc

+ 1 - 1
tripal_entities/includes/tripal_entities.admin.inc

@@ -476,7 +476,7 @@ function tripal_entities_add_bundle_fields($entity_type_name, $bundle_name, $cvt
           break;
         case 'datetime':
           // Use the Drupal Date and Date API to create the field/widget
-          $field_type = 'datestamp';
+          $field_type = 'datetime';
           $widget_type = 'date_select';
           break;
         default: