title: Elasticsearch date format mapping
body: <p>So, i have the following date format which i want to import in elasticsearch as a date field : </p>
  
  <pre><code>2015-01-12T03:00:00
  </code></pre>
  
  <p>Unfortunately, this format is not recognised by elasticsearch with the following mapping : </p>
  
  <pre><code>{
      "mappings": {
        "veenendaal_type_new": {
          "properties": {
            "1061_Mundo_Sport_Veenendaal": {
              "type": "integer"
            },
            "1076_We_Veenendaal_Bernard_van_Kreelpoort": {
              "type": "integer"
            },
            "1103_V&amp;D_Veenendaal": {
              "type": "integer"
            },
            "1167_Action_Veenendaal": {
              "type": "integer"
            },
            "1171_Speksnijder_Veenendaal": {
              "type": "integer"
            },
            "1178_Ingang_Corridor_t_h_v__C&amp;A_Veenendaal": {
              "type": "integer"
            },
            "1181_Ingang_Corridor_t_h_v__Bart_Smit_Veenendaal": {
              "type": "integer"
            },
            "1183_De_Heren_van_XVII_Veenendaal": {
              "type": "integer"
            },
            "1184_Corridor_t_h_v__CandyShop_Veenendaal": {
              "type": "integer"
            },
            "1186_Corridor_t_h_v__Het_Goudhaantje_Veenendaal": {
              "type": "integer"
            },
            "1188_Takko_Veenendaal": {
              "type": "integer"
            },
            "1212_De_Cultuurfabriek_Veenendaal": {
              "type": "integer"
            },
            "1216_Jac_Hensen_Veenendaal": {
              "type": "integer"
            },
            "1505_Floral_Haircare_Veenendaal": {
              "type": "integer"
            },
            "201_WE_Veenendaal": {
              "type": "integer"
            },
            "940_HEMA_Veenendaal": {
              "type": "integer"
            },
            "Tijdsperiode": {
              "type": "date"
            }
          }
        }
      }
    }  
  </code></pre>
  
  <p>Elasticsearch returns this error : </p>
  
  <pre><code>MapperParsingException[failed to parse [Tijdsperiode]]; nested: IllegalArgumentException[Invalid format: "2015-01-12T03:00:00" is malformed at "T03:00:00"];
  </code></pre>
  
  <p>My question is, how can i make this format <strong>(2015-01-12T03:00:00)</strong> valid for elasticsearch? </p>