New submission from David Perra:

The execution of these commands in python 3.4.x (Windows 10 Home)

    import locale
    from datetime import datetime
    locale.setlocale(locale.LC_ALL, 'Spanish')
    datetime.strftime(datetime.now(), '%a %d %b %Y')

renders the output

    'Spanish_Spain.1252'
    'mar 07 jun 2016'

but with Python 3.5.x the output is

'Spanish_Spain.1252'
'ma. 07 jun. 2016'

----------
components: Library (Lib), Windows
messages: 267786
nosy: David Perra, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: python 3.4 vs. 3.5 strftime same locale different output on Windows
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27264>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to