Message5920
Demonstration of problem:
Jython 2.5.2b1 (Release_2_5_2beta1:7075, Jun 28 2010, 07:44:20)
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> d = (2010, 7, 25, 8, 58, 41, -1, 206, -1)
>>> time.strftime('%Y-%m-%dT%H:%M:%SZ',d)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: day of week out of range (0-6)
>>>
------------------------------------------------------------------
Behavior of CPython for same example:
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> d = (2010, 7, 25, 8, 58, 41, -1, 206, -1)
>>> time.strftime('%Y-%m-%dT%H:%M:%SZ',d)
'2010-07-25T08:58:41Z' |
|
Date |
User |
Action |
Args |
2010-07-25 09:50:51 | urs.bisang | set | recipients:
+ urs.bisang |
2010-07-25 09:50:51 | urs.bisang | set | messageid: <1280051451.54.0.507984847622.issue1636@psf.upfronthosting.co.za> |
2010-07-25 09:50:51 | urs.bisang | link | issue1636 messages |
2010-07-25 09:50:49 | urs.bisang | create | |
|