title: How can I make a CakePHP 3 time object remain consistent between AJAX and PHP?
body: <p>When I load a page with a Time object and echo it out on the page through PHP, I get this:</p>
  
  <pre><code>&lt;?= $user-&gt;last_login ?&gt;
  // 12/30/14, 5:21 pm
  </code></pre>
  
  <p>When I load data through ajax, it's returned to me like this:</p>
  
  <pre><code>console.log(response.user.last_login);
  // 2014-12-30T17:21:31+0000
  </code></pre>
  
  <p>I haven't set anything different from the default CakePHP 3 setup, and I need events that are added to the page (returned via ajax) to be in the same time format as events that were pulled on page load (return via PHP).</p>