1๐
โ
Iโm not familiar with the specifics of Django, but I can tell you that in general, integer time stamps, such as 1370604628
are always in UTC.
The value you have from Python is number of seconds since 1/1/1970 UTC. In JavaScript, the number would be represented in milliseconds, so you have to multiply by 1000. But the zero line is at the same point โ Jan 1st, 1970 UTC.
It does not matter what any of your time zone settings are. These values are always in UTC. If you want time zone information to be incorporated, then you have to use a string representation rather than an integer.
Source:stackexchange.com