[IronPython] time.strftime have different output in ironpython and python

Dino Viehland dinov at exchange.microsoft.com
Fri Apr 21 17:08:56 CEST 2006


Thanks for the bug report.  It’s definitely broken although it’s not yet clear why (we translate this into the appropriate .NET string formatting code which should work).  I’ll open a bug and it seems like we should be able to get this one fixed for beta 7.

Do you want to help develop Dynamic languages on CLR?<http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038> (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
________________________________
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of ? ?
Sent: Friday, April 21, 2006 12:13 AM
To: users at lists.ironpython.com
Subject: [IronPython] time.strftime have different output in ironpython and python

IronPython 1.0.60420 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import time
>>> time.strftime("%x %X", time.localtime() )
u'21 \u4e0b'
>>>
ActivePython 2.3.5 Build 236 (ActiveState Corp.) based on
Python 2.3.5 (#62, Feb  9 2005, 16:17:08) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strftime("%x %X", time.localtime() )
'04/21/06 14:30:46'
>>>
________________________________
雅虎1G免费邮箱百分百防垃圾信<http://cn.mail.yahoo.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060421/f541e472/attachment.html>


More information about the Ironpython-users mailing list