Convert a Datetime object to user localtime
<p>My problem is that I can't seem to convert a UTC date to my user localtime in javascript.</p>

<p>Through Flask &amp; Jinja I'm rendering a Datetime objet (naive, but it's a UTC datetime ) like "2013-01-01 17:30:00". </p>

<p>For example:</p>

<pre><code>&lt;p&gt;The time is &lt;span class="localtime"&gt;{{date}}&lt;/span&gt;&lt;/p&gt;
</code></pre>

<p>I would like to display to my users the time in their localtime in the "HH:mm" format.</p>

<p>I tried using <a href="http://code.google.com/p/jquery-localtime/" rel="nofollow">Jquery-Localtime</a> but it doesn't seems to work. I always get 17:30 even when I change my computer time to test.</p>

<p>My end result should look like </p>

<blockquote>
  <p>The Time is 17:30 for a UK Users</p>
</blockquote>

<p>and </p>

<blockquote>
  <p>The Time is 12:30 for a NY Users</p>
</blockquote>
