[docs] datetime documentation bug

Michael Mumcuoglu xmichaelm at gmail.com
Tue Jun 24 15:11:06 CEST 2014


%X example for (en_US) is wrong. It should be "09:30:00 PM"

> python
>>> import locale; locale.setlocale(locale.LC_ALL, 'en_US.utf8')
>>> import datetime; print datetime.datetime.now().strftime('%x %X')
06/24/2014 04:07:18 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20140624/3182a43f/attachment.html>

More information about the docs mailing list