From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4BBKM/zbVF+eGwAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 12:54:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OL8LL/zbVF+iEwAAB5/wlQ (envelope-from ) for ; Sun, 06 Sep 2020 12:54:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1EBFA94044B for ; Sun, 6 Sep 2020 12:54:20 +0000 (UTC) Received: from localhost ([::1]:41634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEuBW-0006aV-V2 for larch@yhetil.org; Sun, 06 Sep 2020 08:54:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEuAy-0006Ys-IP for emacs-orgmode@gnu.org; Sun, 06 Sep 2020 08:53:44 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:39480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEuAw-0007nY-B9 for emacs-orgmode@gnu.org; Sun, 06 Sep 2020 08:53:44 -0400 Received: from bohne (p200300cd6736d300b803403b795ee7b3.dip0.t-ipconnect.de [IPv6:2003:cd:6736:d300:b803:403b:795e:e7b3]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA id 090A46D823D9 for ; Sun, 6 Sep 2020 14:53:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1599396816; bh=q3HjGw8Nw2RYYDggQinm8bd1qLu4+bFDV3JbLLxMCfM=; h=From:To:Subject:References:Date:In-Reply-To:From; b=TX8VJVBDWDiLV8+LHFPUq08T+m8waqTLJEpGg5qq6YAPFoWG5SlEUgCs+nksCHkMa Mbgf7Q1X8aESEcdSSIy3yrvhNWdd62crwZs2livPUykvTMqJFFdWht04mMVNOt69J2 VSkrOYrCXYab50xebaXrFbPeBgGtjMYmv5ehAIkQ= From: Stefan Nobis To: emacs-orgmode@gnu.org Subject: Re: org-time-stamp in German or Spanish or.... References: <87zh63qn9k.fsf@mat.ucm.es> Mail-Followup-To: emacs-orgmode@gnu.org Date: Sun, 06 Sep 2020 14:53:35 +0200 In-Reply-To: <87zh63qn9k.fsf@mat.ucm.es> (Uwe Brauer's message of "Sun, 06 Sep 2020 11:15:35 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 08:53:36 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=TX8VJVBD; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: FVyNXsEDISYa Uwe Brauer writes: > But is inserts the name of the days in English The format and language of the time-stamps is controlled by the function format-time-string (the docstring of this function shows all the available placeholders, including "%a" for the locale's abbreviated name of the day of week). So the name of the days should be controlled by the locale Emacs is running in (or the relevant language settings inside Emacs). For example I want to enforce English names, so I have in my init.el: #+begin_src elisp (set-language-environment "English") (set-locale-environment "en_US.UTF-8") #+end_src You can check what locale Emacs is using by inspecting the variables `current-language-environment', and especially `system-time-locale' (for the case that LC_TIME is set differently than other locale settings). -- Until the next mail..., Stefan.