[issue15563] wrong conversion reported by

2012-08-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's a timezone issue. Try datetime.datetime.utcfromtimestamp(1341183050) -- nosy: +loewis resolution: -> invalid status: open -> closed ___ Python tracker _

[issue15563] wrong conversion reported by

2012-08-06 Thread Walid Shaari
Walid Shaari added the comment: the issue i believe is in datetime module -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15563] wrong conversion reported by

2012-08-06 Thread Walid Shaari
New submission from Walid Shaari: In the code below the time stamp 1341183050 should be 01 July 2012. however datetime is converting it back to 7 July 2012, the reverse too is wrong, is that just the way i am using the code? [g_geadm@plcig2 ~]$ ipython Python 2.6.5 (r265:79063, Jul 14 2010, 1