title: Does GSon mess up Timestamp variables
body: <p>I'm trying to send a class over sockets, and this all works fine. However, one of the variables gets messed up for no apparent reason. Let me explain further.</p>
  
  <p>The code I'm using is the following (For the Client socket, where the GSon gets created):</p>
  
  <pre><code>while(!someQueueVariable.isEmpty()){
       QueryHolder h = this.someQueueVariable.poll();
       Gson g = new Gson();
       String send = g.toJson(h);
       out.println(send);
  }
  </code></pre>
  
  <p>QueryHolder is a simple class that contains two <code>Strings</code> and an <code>Object[]</code>. </p>
  
  <p>I tried Netbeans' built-in Debugger, and these variables were present:
  <img src="https://i.stack.imgur.com/MAL3r.jpg" alt="Variables">
  The ones highlighted in blue are the ones you should look at. As you can see, there first was a Timestamp object with the value of <code>2013-02-18 15:49:36.415</code>, which got turned into <code>Feb 18, 2013 3:49:36PM</code>. Am I doing something wrong here? Is it a bug in GSon? </p>