Message207542
Hello,
We are using Python 3.3.2 for HPUX11.31.
The following error happens only on HPUX, works on SunOS, RHEL, AIX.
python
Python 3.3.2 (default, Dec 9 2013, 14:04:25) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>> from datetime import datetime
>>> datetime.strptime ("10-Dec-13.20:07:49", "%d-%b-%y.%H:%M:%S")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/python/lib/python3.3/_strptime.py", line 500, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/python/lib/python3.3/_strptime.py", line 337, in _strptime
(data_string, format))
ValueError: time data '10-Dec-13.20:07:49' does not match format '%d-%b-%y.%H:%M:%S'
It looks like a bug. Could you please shed some lights?
Thanks in advance,
Br,
Li |
|
Date |
User |
Action |
Args |
2014-01-07 14:45:13 | dellair.jie | set | recipients:
+ dellair.jie |
2014-01-07 14:45:13 | dellair.jie | set | messageid: <1389105913.13.0.195664624668.issue20163@psf.upfronthosting.co.za> |
2014-01-07 14:45:13 | dellair.jie | link | issue20163 messages |
2014-01-07 14:45:12 | dellair.jie | create | |
|