Message6288
The following code-snippet fails to see the microseconds portion of a datetime:
-- CUT HERE --
from datetime import datetime
dt=datetime.now()
dt.strftime("%Y-%m-%d %H:%M:%S")+","+dt.strftime("%f")
-- CUT HERE --
-- RESULT FROM JYTHON 2.5.1:
'2010-12-20 14:37:04,'%f'
This is the output from cpython (actually release 2.6 - so not testing like with like?):
-- RESULT FROM CPYTHON 2.6.2
'2010-12-20 14:37:33,884' |
|
Date |
User |
Action |
Args |
2010-12-20 14:51:46 | monojohnny | set | recipients:
+ monojohnny |
2010-12-20 14:51:46 | monojohnny | set | messageid: <1292856706.67.0.28696601833.issue1689@psf.upfronthosting.co.za> |
2010-12-20 14:51:46 | monojohnny | link | issue1689 messages |
2010-12-20 14:51:46 | monojohnny | create | |
|