Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #4603

Re: [Python-de] Datetime frage

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Achim Herwig <python@wodca.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Datetime frage
Date Sun, 11 Dec 2016 21:03:58 +0100
Lines 44
Message-ID <mailman.15.1481487029.2322.python-de@python.org> (permalink)
References <o2k666$fir$1@tota-refugium.de> <mailman.9.1481482819.2322.python-de@python.org> <o2k8tc$hms$1@tota-refugium.de> <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 <python@wodca.de>
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 <o2k8tc$hms$1@tota-refugium.de>
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <29632363.IbJKtlFMln@iguape>
X-Mailman-Original-References <o2k666$fir$1@tota-refugium.de> <mailman.9.1481482819.2322.python-de@python.org> <o2k8tc$hms$1@tota-refugium.de>
Xref csiph.com de.comp.lang.python:4603

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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')
> 
> Hallo Andreas
> 
> folgende Fehlermeldung:
> 
>  File "DatumsTest_2.py", line 29, in <module>
>     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
> 
> IMHO sind die Locale bei mir alle richtig gesetzt.
> Debian 8.6

Hast Du mal versucht, "locale -a" auszuführen? Wird dann "de_DE" gelistet? 

Siehe auch: http://stackoverflow.com/a/14548156/2302274

VG, Achim.
-- 
Achim Herwig  / achim.herwig@wodca.de / +49 176 802 393 58

Back to de.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Datetime frage Manfred Gil <manfred-gil@t-online.de> - 2016-12-11 18:33 +0000
  Re: [Python-de] Datetime frage "Andreas Jung" <lists@zopyx.com> - 2016-12-11 19:39 +0100
    Re: [Python-de] Datetime frage Manfred Gil <manfred-gil@t-online.de> - 2016-12-11 19:20 +0000
      Re: [Python-de] Datetime frage "Andreas Jung" <lists@zopyx.com> - 2016-12-11 20:29 +0100
        Re: [Python-de] Datetime frage Hans-Georg Joepgen <test@joepgen.com> - 2016-12-11 20:49 +0100
          Re: [Python-de] Datetime frage "Andreas Jung" <lists@zopyx.com> - 2016-12-11 20:56 +0100
      Re: [Python-de] Datetime frage Christopher Arndt <chris@chrisarndt.de> - 2016-12-11 20:53 +0100
      Re: [Python-de] Datetime frage Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2016-12-11 21:03 +0100
        Re: [Python-de] Datetime frage Manfred Gil <manfred-gil@t-online.de> - 2016-12-12 18:01 +0000
          Re: [Python-de] Datetime frage Arnold Krille <arnold@arnoldarts.de> - 2016-12-12 21:04 +0100
      Re: [Python-de] Datetime frage Achim Herwig <python@wodca.de> - 2016-12-11 21:03 +0100
        Re: [Python-de] Datetime frage Manfred Gil <manfred-gil@t-online.de> - 2016-12-12 18:04 +0000
          Re: [Python-de] Datetime frage Achim Herwig <python@wodca.de> - 2016-12-12 20:50 +0100
  Re: [Python-de] Datetime frage Hans-Peter Jansen <hpj@urpla.net> - 2016-12-11 21:01 +0100
    Re: [Python-de] Datetime frage Manfred Gil <manfred-gil@t-online.de> - 2016-12-12 18:07 +0000
      Re: [Python-de] Datetime frage Hans-Peter Jansen <hpj@urpla.net> - 2016-12-12 21:42 +0100
        Re: [Python-de] Datetime frage Manfred Gil <manfred-gil@t-online.de> - 2016-12-13 17:38 +0000
          Re: [Python-de] Datetime frage Hans-Peter Jansen <hpj@urpla.net> - 2016-12-13 20:46 +0100

csiph-web