Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Achim Herwig Newsgroups: de.comp.lang.python Subject: Re: [Python-de] Datetime frage Date: Sun, 11 Dec 2016 21:03:58 +0100 Lines: 44 Message-ID: References: <29632363.IbJKtlFMln@iguape> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1553925.A1TdohAMRj"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-Trace: news.uni-berlin.de n0gqd6O9wKByjnkTGHyvew+a5N16kOFZ5712pS/+ga9g== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org User-Agent: KMail/5.3.3 (Linux/4.8.12-1-default; KDE/5.28.0; x86_64; ; ) In-Reply-To: X-BeenThere: python-de@python.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Die Deutsche Python Mailingliste List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <29632363.IbJKtlFMln@iguape> X-Mailman-Original-References: Xref: csiph.com de.comp.lang.python:4603 --nextPart1553925.A1TdohAMRj Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Am Sonntag, 11. Dezember 2016, 19:20:13 CET schrieb Manfred Gil: > Am Sun, 11 Dec 2016 19:39:55 +0100 schrieb Andreas Jung: > > import datetime as dt import locale locale.setlocale(locale.LC_ALL, > > 'de_DE') >=20 > Hallo Andreas >=20 > folgende Fehlermeldung: >=20 > File "DatumsTest_2.py", line 29, in > locale.setlocale(locale.LC_ALL,'de_DE') > File "/usr/lib/python3.4/locale.py", line 592, in setlocale > return _setlocale(category, locale) > locale.Error: unsupported locale setting >=20 > IMHO sind die Locale bei mir alle richtig gesetzt. > Debian 8.6 Hast Du mal versucht, "locale -a" auszuf=FChren? Wird dann "de_DE" gelistet= ?=20 Siehe auch: http://stackoverflow.com/a/14548156/2302274 VG, Achim. =2D-=20 Achim Herwig / achim.herwig@wodca.de / +49 176 802 393 58 --nextPart1553925.A1TdohAMRj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSJdrQuS6QyMDpmlICUIFj/0tpOqgUCWE2xLgAKCRCUIFj/0tpO qgHLAJ94r8n+a2r5H1yD1Sm5TPYzz5+J2wCgif2Gzsm22n2/Gw3VGkAq6rBJeE8= =Tekr -----END PGP SIGNATURE----- --nextPart1553925.A1TdohAMRj--