- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message69192
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | nevgor |
|---|---|
| Recipients | nevgor |
| Date | 2008-07-03.11:47:34 |
| SpamBayes Score | 0.0051337504 |
| Marked as misclassified | No |
| Message-id | <1215085656.87.0.45612671084.issue3269@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
strptime() allows 60 and 61 sec, but not 62 sec in arg. string
>>> s='02/28/2000 12:33:61 AM'
>>> time.strptime(s,'%m/%d/%Y %I:%M:%S %p')
(2000, 2, 28, 0, 33, 61, 0, 59, -1)
>>> s='02/28/2000 12:33:62 AM'
>>> time.strptime(s,'%m/%d/%Y %I:%M:%S %p')
Traceback (most recent call last):
File "<pyshell#12>", line 1, in <module>
time.strptime(s,'%m/%d/%Y %I:%M:%S %p')
File "C:\Python25\lib\_strptime.py", line 330, in strptime
(data_string, format))
ValueError: time data did not match format: data=02/28/2000 12:33:62 AM
fmt=%m/%d/%Y %I:%M:%S %p |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-07-03 11:47:37 | nevgor | set | spambayes_score: 0.00513375 -> 0.0051337504 recipients: + nevgor |
| 2008-07-03 11:47:36 | nevgor | set | spambayes_score: 0.00513375 -> 0.00513375 messageid: <1215085656.87.0.45612671084.issue3269@psf.upfronthosting.co.za> |
| 2008-07-03 11:47:35 | nevgor | link | issue3269 messages |
| 2008-07-03 11:47:34 | nevgor | create | |

