My problem is that I can't seem to convert a UTC date to my user localtime in javascript.
Through Flask & Jinja I'm rendering a Datetime objet (naive, but it's a UTC datetime ) like "2013-01-01 17:30:00".
For example:
<p>The time is <span class="localtime">{{date}}</span></p>
I would like to display to my users the time in their localtime in the "HH:mm" format.
I tried using Jquery-Localtime but it doesn't seems to work. I always get 17:30 even when I change my computer time to test.
My end result should look like
The Time is 17:30 for a UK Users
and
The Time is 12:30 for a NY Users