[Ironpython-users] IronPython, Daily Digest 3/19/2015

CodePlex no_reply at codeplex.com
Fri Mar 20 08:25:04 CET 2015


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] datetime.strptime with timezone broken in IronPython 2.7.5
2. [New comment] datetime.strptime with timezone broken in IronPython 2.7.5

----------------------------------------------

ISSUES

1. [New issue] datetime.strptime with timezone broken in IronPython 2.7.5
http://ironpython.codeplex.com/workitem/35900
User akarppinen has proposed the issue:

"In 2.7.4:

C:\Users\Administrator>ipy
IronPython 2.7.4 (2.7.0.40) on .NET 4.0.30319.17929 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.



from datetime import datetime
data='2015-03-19T16:00:35+02:00'
fmt='%Y-%m-%dT%H:%M:%S%z'
datetime.strptime(data, fmt)
datetime.datetime(2015, 3, 19, 16, 0, 35)



Same in 2.7.5:

C:\Users\karppan>ipy
IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.34209 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.



from datetime import datetime
data='2015-03-19T16:00:35+02:00'
fmt='%Y-%m-%dT%H:%M:%S%z'
datetime.strptime(data, fmt)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: time data does not match format
data=2015-03-19T16:00:35+02:00, fmt=%Y-%m-%dT%H:%M:%S%z, to: yyyy'-'M'-'d'T'H':'m':'ss''


"-----------------

2. [New comment] datetime.strptime with timezone broken in IronPython 2.7.5
http://ironpython.codeplex.com/workitem/35900
User akarppinen has commented on the issue:

"<p>I created a clone in github too if that's the way nowdays:<br>https://github.com/IronLanguages/main/issues/1186<br></p>"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20150320/bfa4efbe/attachment.html>


More information about the Ironpython-users mailing list