From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EBpvG91NWmTnSQEASxT56A (envelope-from ) for ; Tue, 09 May 2023 15:42:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WPM0G91NWmQwXQEAauVa8A (envelope-from ) for ; Tue, 09 May 2023 15:42:53 +0200 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 0AE267709 for ; Tue, 9 May 2023 15:42:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwNbT-00081J-7X; Tue, 09 May 2023 09:42:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwNbL-0007z0-JW for emacs-orgmode@gnu.org; Tue, 09 May 2023 09:41:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwNbJ-0004LF-3z for emacs-orgmode@gnu.org; Tue, 09 May 2023 09:41:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C6AF52401C6 for ; Tue, 9 May 2023 15:41:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683639714; bh=4ac5AlwRlyOL2lu3uFfKsa6VQh2bIlAO0sDhVEhUWlE=; h=From:To:Cc:Subject:Date:From; b=m72Qu9aXzWnqGDWji377rQnw+BUHCytk5ksWe+NhEWdZaBevqpaWwqjgjnscjTGIp 3TzVcTmU7hj7Bwcqi5yoKSLrxptKPo99OGEOOs4g51cwa0+93yskgy94T45eEkQ86m /t7hdOOUqt3983WT35N8F2Bsuse+83rjAvbEJ4C24bZLtXRbspsJbcuW9dSM+Ybrr5 sseVkVIWcFjtSvVfxoWtPRCpgl9F4ICiBVjX3MmIftkEIDrha6HXRM8uS+r5+StIRE Es5Sd8JmvgXAI49Y6/o5/5u3x2gN80LO5TQmOgf5vimCgCmfm6xyliCHgPSVBIIUM+ AnG/pjutCBz/A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QFzpp2DdYz9rxD; Tue, 9 May 2023 15:41:54 +0200 (CEST) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: the change in org-time-stamp-custom-formats In-Reply-To: <87zg6dzl2j.fsf@mat.ucm.es> References: <87zg6dzl2j.fsf@mat.ucm.es> Date: Tue, 09 May 2023 13:45:12 +0000 Message-ID: <875y91ty8n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683639773; a=rsa-sha256; cv=none; b=Mr+NrEKnALTvNZzwHwwUdI0VL8+LxQB438PVQglbmYvSpsYWzaKgOuTvCdv4IUt6by7fDe 7mpLDg7yZldIMjZBYci3APc5a5Av0NPAPrXitAqNmqWIUEvgxDFKqDuB1GmS6Y4y+7LWDG W//XwnwB8HmgBEWDYBvknCUcLwdsRsMSiMA4wDmkuQNVWRcSr0rBIzU0SlGolaiTG8mHJT kvOxXUtVD0efenJvCCkx6afT8TazgGTkMsWdEy14kyrmERPZGKgRaiS6kVlxF/o/Sup+Ts 0JPwEQtHbXrk3wR+hvSqWOF2KK9Aqca6JgtV7bz2fgP/D7nCnHriyZhkkBs27Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=m72Qu9aX; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683639773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SV1ctOBkqs6W6UoA0MV0zSHB7EZYIstGrHA6dwRU+BU=; b=OtYHHxG3zy5kVxYBpNqgq9fztgWlFKfg++9i8U+h7RwRUZvCTPd+vG9KF1sxc8sim3o45N 6eYNYS+eUPq1p3e8ZAHuOlPtcGc3UbbsAQ4Qr+K+wIR2i/hxvSBlFRBE0AIEoiVxvV1nLO iOzjGTqGH10/ljy+J9RjkWxWFdfvNptiyulwnS+Lqp57sA7B0w/FH6cNVFXf/rTMbx8K6V kk6f85+6dwh5/rWY4Zsd/9LjlZ/prDk1K0Dfj0Rg/Qfyk7Fj46kTDrxHYVPMyg9jyesMIP 7/OfMvtGwVIBGYBUVItYdu+AtlTMjxlDt2e5J3TU2xlmLihpugZeMdsOJK5gKw== X-Migadu-Spam-Score: -8.38 X-Spam-Score: -8.38 X-Migadu-Queue-Id: 0AE267709 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=m72Qu9aX; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: m3y1gdnwy6/l Uwe Brauer writes: > But I have files with the setting > > #+begin_src emacs-lisp :results silent :exports none > (custom-set-variables > '(org-display-custom-times t) > '(org-time-stamp-custom-formats '("<%d.%m.%Y>" . "<%d.%m.%Y %I:%M %p>"))) > #+end_src > > > Should I change that to > '(org-time-stamp-custom-formats '("%d.%m.%Y" . "%d.%m.%Y %I:%M %p"))) You can. Or you can leave things unchanged. What we now do with these values is ;; Strip brackets, if any. (when (or (and (string-prefix-p "<" format) (string-suffix-p ">" format)) (and (string-prefix-p "[" format) (string-suffix-p "]" format))) (setq format (substring format 1 -1))) So, brackets, if any, are stripped. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at