title: Angular UI datepicker giving me a UTC converted string. How to parse it back to local time accounting for the time difference?
body: <p>I am currently running into issues with datepicker automatically converting my time to UTC. Is there anything I can pass into datepicker for it to not give me back a UTC converted string? For example the user picks March 19 on the calendar and the returned string would be something like this</p>
  
  <pre><code>'2014-03-19T04:00:00.000Z'
  </code></pre>
  
  <p>What I want is -></p>
  
  <pre><code>'2014-03-19T00:00:00-04:00'
  </code></pre>
  
  <p>What I am trying now (sort of hacking around it) is trying to use moment js to convert it back to my desired (expected) format, but I am having trouble doing so without hardcoding a subtraction in there. I want to be able to convert it from UTC back to local time.</p>
  
  <p>Does anyone know of a solution to this using moment js or angular?</p>