Message339672
| Author |
Alex.LordThorsen |
| Recipients |
Alex.LordThorsen, akira, belopolsky, berker.peksag, cool-RR, inglesp, p-ganssle, r.david.murray |
| Date |
2019年04月08日.20:25:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1554755140.99.0.0791233326247.issue22377@roundup.psfhosted.org> |
| In-reply-to |
| Content |
This behavior is currently unchanged and the docs still state that `EST` is an acceptable value.
```
>>> datetime.strptime("2019-01-28 18:54:45 EST", "%Y-%m-%d %H:%M:%S %Z")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.7/_strptime.py", line 359, in _strptime
(data_string, format))
ValueError: time data '2019-01-28 18:54:45 EST' does not match format '%Y-%m-%d %H:%M:%S %Z'
``` |
|