[New-bugs-announce] [issue27264] python 3.4 vs. 3.5 strftime same locale different output on Windows
David Perra
report at bugs.python.org
Wed Jun 8 01:25:57 EDT 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue27264>
_______________________________________
More information about the New-bugs-announce
mailing list