From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4LLiKhenQGAofQAA0tVLHw (envelope-from ) for ; Thu, 04 Mar 2021 09:23:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cNyHJhenQGAQMwAAB5/wlQ (envelope-from ) for ; Thu, 04 Mar 2021 09:23:35 +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 B834C1D67A for ; Thu, 4 Mar 2021 10:23:34 +0100 (CET) Received: from localhost ([::1]:45352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHkCi-0000Sd-Ia for larch@yhetil.org; Thu, 04 Mar 2021 04:23:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHkCF-0000SV-EK for emacs-orgmode@gnu.org; Thu, 04 Mar 2021 04:23:03 -0500 Received: from ciao.gmane.io ([116.202.254.214]:50050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHkCD-0002d7-SU for emacs-orgmode@gnu.org; Thu, 04 Mar 2021 04:23:03 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lHkCA-0002Sj-LF for emacs-orgmode@gnu.org; Thu, 04 Mar 2021 10:22:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: org-capture-templates: %date is too long Date: Thu, 04 Mar 2021 10:22:54 +0100 Message-ID: <87wnunz30x.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:ZGiuqHlX0an/s6paOK8y3+5OcUQ= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614849815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=S59bGJsJ77ybV78ALrdh0DJ0EmhTmAcbf5BU+wBNBkc=; b=XkxDGh8H2UUQL1jrsTCa1XXNx1znp1DbwhFwBbG1jUWC2nbwxzQNN805KSmFdxjbDNyTK5 rxraSSVJ9sGro23kQ/ontjbpb6rcKUJIfuai8ugLGjfDbYkB7jUqkQaP/9biIjLDKbl4tD cXe/zdGN4AIYi/WThMT3YJtcNtLVQwDoS6l0YYKsoLe68jSHGF4W3Y7GIv2q8r5l0lLVF9 hEX5phNwkMKxHYHBtgzm8URXzrWdCt6bJnxRA0JXTqmY4oavWjhxlZOHKXASm4x0hQ/UOE hFQntmmH5KZ4IHPotpd9BqyS3w7+ZhZITvoSa3tarfabEzWMv+dHrN7Kb93WGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614849815; a=rsa-sha256; cv=none; b=IKhgdkeU+N9psuWRZgRjePM0sbfvG4RfRbhqq6uISQiqt2jzKMTwNmJ64MP82OEpDkuiof D7n67oiH/uvMQ1lrcB5SJqiLH+jwzFLICNHsHHLrCrdtj5SJU42aDVon4S0g20BAA9zTef bpDdrq+vUkXpPVzuPVyCjKZVAXZ5N1VwLC4a6SJsQ6hsJx/CvF4tzPysORYqLaUaAzlAnl mlMYYtG+w3LoP49jYawucpDNf/a/JvNBm/wNd7UZBzE3PH5esdXLkBcL6e0DEMQyf52bjQ haCFqxWfs51vxA6NsKSoUHrAxvm1qr2OfNCcsQRfOr4oHWpA8cDDWbBIhmOvSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); 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-Migadu-Spam-Score: -1.76 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); 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-Migadu-Queue-Id: B834C1D67A X-Spam-Score: -1.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: TBYvsDfj/f8w Hi I try to add a new entry to my org-capture-templates for mails what I read via gnus. I'd like to have a timestamp that reflects when the message was received, not when the entry was created (for that I would to have to use %t) Now I have set "| | %:fromname|%:fromaddress|%^{Sheet|1|2|3|4|5|6|7|8|9} | %:date |[ ] | | %a " :prepend t) Using the description of the org-capture-template ------------------------+------------------------------------------------------ gnus | %:from %:fromname %:fromaddress | %:to %:toname %:toaddress | %:fromto (either "to NAME" or "from NAME") | %:date %:date-timestamp (as active timestamp) | %:date-timestamp-inactive (as inactive timestamp) gnus | %:group, for messages also all email fields The problem is this results in | Number | name | email | sheet | date | status | | | John Doe | footbar@gmail.com | 2 | Tue, 2 Mar 2021 19:35:03 +0100 | [ ] | I don't need the hour, and for sure I don't need +0100 Any idea how to shorten that? regards Uwe Brauer