Issue1559
Created on 2010-02-20.14:47:46 by seansummers, last changed 2010-02-22.22:56:18 by zyasoft.
msg5543 (view) |
Author: Sean Summers (seansummers) |
Date: 2010-02-20.14:47:45 |
|
python and jython don't agree on tm_wday for 12/28/2008.
Can't upload a file, so here's the code:
python -c 'import time; print time.strptime("12/28/08", "%m/%d/%y")'
(2008, 12, 28, 0, 0, 0, 6, 363, -1)
jython -c 'import time; print time.strptime("12/28/08", "%m/%d/%y")'
(2008, 12, 28, 0, 0, 0, -1, 363, -1)
|
msg5545 (view) |
Author: Jim Baker (zyasoft) |
Date: 2010-02-22.22:23:03 |
|
The day of week returned by time.strptime should return 6, instead of -1, for Sunday dates
|
msg5546 (view) |
Author: Jim Baker (zyasoft) |
Date: 2010-02-22.22:55:53 |
|
Fixed by r6981
|
|
Date |
User |
Action |
Args |
2010-02-22 22:56:18 | zyasoft | set | status: open -> closed resolution: accepted |
2010-02-22 22:55:53 | zyasoft | set | messages:
+ msg5546 |
2010-02-22 22:23:04 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg5545 title: time.strptime broken for 12/28/2008 -> time.strptime broken for day of week for Sunday |
2010-02-20 14:47:46 | seansummers | create | |
|