[IronPython] strftime formatting error with %c

Slide slide.o.mix at gmail.com
Fri Sep 1 08:39:56 CEST 2006


I am using the following code and it has different results in CPython vs. IP.

from time import strftime, gmtime

print strftime('%c', gmtime())

CPython prints out the correct '09/01/06 06:38:48'

the same code on IP prints out 0.

Can anyone else reproduce this? I am appending the CPython lib path to
my sys.path so that I can use the normal CPython modules.

Thanks,

slide



More information about the Ironpython-users mailing list