title: How to deserialize JS date using Jackson?
body: <p>I'm getting a date string from ExtJS in the format: </p>
  
  <blockquote>
    <p>"2011-04-08T09:00:00"</p>
  </blockquote>
  
  <p>when i try to deserialize this date, it changes the timezone to Indian Standard Time (adds +5:30 to the time) . This is how i'm deserializing the date:</p>
  
  <pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
  getObjectMapper().getDeserializationConfig().setDateFormat(dateFormat);
  </code></pre>
  
  <p>Doing this also doesn't change the timezone. I still get the date in IST:</p>
  
  <pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
  dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
  getObjectMapper().getDeserializationConfig().setDateFormat(dateFormat);
  </code></pre>
  
  <p>How do I deserialize the date in the way in which it is coming without the hassles of Timezone?</p>