code: function getDateParts (value) {
    if (!value || value.length === 0) {
      return
    }
  
    if (typeof value === 'object') {
      value = moment(value).format('DD/MM/YYYY')
    }
  
    const seperator = (value.indexOf('-') !== -1) ? '-' : '/'
    if (value.indexOf('T') !== -1) {
      value = value.substr(0, value.indexOf('T'))
    }
    const parts = value.split(seperator)
  
    if (seperator === '/') {
      return parts
    }
  
    return [parts[2], parts[1], parts[0]]
  }
docs: Accept dates in format dd/mm/yyyy or yyyy-mm-ddThh:MM:ss or yyyy-mm-dd