From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gOhxIOMkvmSLJgAASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 09:14:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yPKXIOMkvmRlYwEA9RJhRA (envelope-from ) for ; Mon, 24 Jul 2023 09:14:43 +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 EB2B567B24 for ; Mon, 24 Jul 2023 09:14:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mZOHRSCY; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690182883; 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=d8cdLcO7oshQN2JC+QiKcyoVgLx1oJinzEOxcIz3eG8=; b=YKf9J/ppsFOP92LB5kSUl/hVVoUtdvMBA9w8+4vQfOacEPRpFErC4MFnnV7AIvblmD+3xe DA+kDzbhrD5uT/myb1ceS8oGTMfRsfCcQjN+0CduSYnYYmEbIohYKZ3qV8Zq9NcDe22BTL CZxSGvEmIJWY5MSmm/zoWUgZVbxhTihICVyKs8Tu8pfPaeboFIaFcMDatTb2FTtXU4o0lQ AYXnfPb/rXPLy+3fsNqZ08/uRpDdtLp9z8AAvrN7tdG/InwHgmXPZiaxrGzFh2zJlPnMgJ vCKLJIeZkf1D/5foHGYQtindJAUPV16IotGw5PF8wRQEgcTDS7jwYLxfBN19JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mZOHRSCY; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690182883; a=rsa-sha256; cv=none; b=QiRb46BoWf5ZwnWUBNx6SBgaVKkCINMYA6S3AvHS0N4Ligh9v++QmXB8kXamEcLERvpyow w7Mp4dUVhw304kkirKfaaHES9HpSDoNwaAbByNSeLjr0MKoXzvPl7yzzbyzT/25IxPxN9m MifXDBCbDkoXO2Xs32J0cGtcR2xef2l32fB6RCdrAyqKjWUY/xYkxSSP+O2XzqrH7PKlCm rZ1EUtTthaD1134jkm4+fT8XTeF1htqt7fwQ89DVOnpHvl00qQJAgrwFBZfZPkZwjPV3RD 8LYv7L5evpbuFeZb1RyjcvBAmqe/8CSx2hyDN0NtQNjTDCD4bGGmVeKrGqjaFQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNplS-0003TB-E2; Mon, 24 Jul 2023 03:13:54 -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 1qNplP-0003Sv-Em for emacs-orgmode@gnu.org; Mon, 24 Jul 2023 03:13:51 -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 1qNplK-00038D-2I for emacs-orgmode@gnu.org; Mon, 24 Jul 2023 03:13:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E9DD9240027 for ; Mon, 24 Jul 2023 09:13:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1690182823; bh=E08zkuIXsaLs7uNbXntN5RHWlKc/qVXSKWI2EMfKHPs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=mZOHRSCYmkAu+tDK7ZOjksEjV3z2eGvic5zN56Uv7wbC345lg16WWrtrWgJ1qH8CG AWpQ6np1RffMTDmO4xF55OwA4GQ+NDNYPkwnlSHg2TT9AFezV5xfQdp1DsIaTdFHhp GJDwwSAAHaWKFtdQLrm54s1kEVUMB2RJhnm7pwxsBPdm3WwOi0OHHVw6Jn60SK+MXw 3uYFT2faGG5aWVC+fnlgtDBo+gE8tyeoVFhDais213FscUmFIQ/KYWBonUyMSwFYQZ aik0C+NVOLgPjMf0bAqENQE71sWYOLpfs/26z5uHqxgWmHpyehJ3uLDTFdj71SMy+l EQB1nI3FVUUHA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R8Wbq21yrz9sC7; Mon, 24 Jul 2023 09:13:43 +0200 (CEST) From: Ihor Radchenko To: Marcus Zibrowius Cc: emacs-orgmode@gnu.org Subject: Re: Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3-g37f69b-elpaplus @ /home/marcus/.emacs.d/elpa/org-plus-contrib-20210531/)] In-Reply-To: <306bd343bb8b1b44db1097f3f78f5dcbcff4177a.camel@posteo.net> References: <2688a48d5383625b5acd5b803ff6b8b947322369.camel@posteo.net> <874jlxmnmk.fsf@localhost> <306bd343bb8b1b44db1097f3f78f5dcbcff4177a.camel@posteo.net> Date: Mon, 24 Jul 2023 07:13:56 +0000 Message-ID: <87v8e93hor.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: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -4.83 X-Migadu-Queue-Id: EB2B567B24 X-Migadu-Spam-Score: -4.83 X-Migadu-Scanner: mx0.migadu.com X-TUID: bRN+LPySsXFt Marcus Zibrowius writes: >> You can increase `icalendar-export-sexp-enumeration-days' to get the >> anniversary occurrences exported up to that number of days ahead. > > The variable `icalendar-export-sexp-enumeration-days` is indeed set to 14. However, even entries of the form > > * Test 1 > %%(org-anniversary 2023 07 22) Test1 > * Test 2 > %%(org-anniversary 2023 07 24) Test2 > > do not get exported today (2023 07 23). Sure. Because anniversaries count from 1 year, not from 0. Try * Test 1 %%(org-anniversary 2022 07 23) Test1 * Test 2 %%(org-anniversary 2022 07 25) Test2 %d >> Also, `org-anniversary' does not support %d. AFAIK, it is only working >> for built-in sexp types, which are handled specially. > > %d works perfectly in the agenda view. You are right. And it also works in icalendar export. (Try the above example). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at