[IronPython] strftime formatting error with %c

Haibo Luo haiboluo at exchange.microsoft.com
Fri Sep 1 17:57:01 CEST 2006

Thanks for the bug report. I filed as http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=2792.
Tentatively set to be fixed in 1.0.1.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Slide
Sent: Thursday, August 31, 2006 11:40 PM
To: Discussion of IronPython
Subject: [IronPython] strftime formatting error with %c

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.


users mailing list
users at lists.ironpython.com

More information about the Ironpython-users mailing list