 Template.userEvents.onCreated ->
   @userEventFields = [
-    {
-      arrayName: '',
-      description: 'Date the event was created.',
-      displayName: 'Creation Date',
-      fieldName: 'creationDate',
-      defaultSortDirection: -1
-    },
     {
       arrayName: '',
       description: 'The name of the EID.',

  settings: ->
    fields = []
    for field in Template.instance().userEventFields
      fields.push {
        key: field.fieldName
        label: field.displayName
        isVisible: Template.instance().fieldVisibility[field.fieldName]

    },
    {
      arrayName: '',
      description: 'Date the event was created.',
      displayName: 'Creation Date',
      fieldName: 'creationDate',
      defaultSortDirection: -1,
      displayFn: (value, object, key) ->
        return value.toLocaleString()
    },
    {
      arrayName: '',
      description: 'Date the event was last modified.',
      displayName: 'Last Modified Date',
      fieldName: 'lastModifiedDate',
      defaultSortDirection: -1,
      displayFn: (value, object, key) ->
        return value.toLocaleString()
    },
    {
      arrayName: '',
